Fire Fox 21.0 FireBug Reporting Error from jquery.js?ver=1.8.3
|Reported by:||robert.lang||Owned by:|
After searching, there appears to be no previous reporting of this issue. I believe it is being caused by a recent update to the Fire Fox Browser after 3.5.1 release. I haven't seen it come up before FF V. 21.0.
uncaught exception: DataCloneError: The object could not be cloned. https://website.com/wp-includes/js/jquery/jquery.js?ver=1.8.3 Line 2
This error is consistent on return url after payment is processed via PayPal. As many as 92 cyclical references.
Some references for a solution:
The original exception was most likely thrown because you tried passing a host object to the web worker (most likely a dom element). Your subsequent attempts don't throw the same error. Remember two key points: there isn't shared memory between the different threads, and the web workers can't manipulate the DOM.
postMessage supports passing structured data to threads, and will internally serialize (or in some other way copy the value of the data recursively) the data. Serializing DOM elements often results in circular reference errors, so your best bet is to map the object you want serialised and extract relevant data to be rebuilt in the web worker.
Further Explanation to this cause: