Re:Non-Blocking Asynchronous JSON.parse Using the Fetch API
by jwmerrill on Friday July 31, 2015 @12:06PM
(#9982535)
Using the structured clone algorithm for worker postMessage calls is standard:
https://html.spec.whatwg.org/multipage/workers.html#communic...
Strange, according to MDN data sent to web workers needs only be deep clone-able[1]. Is this non-standard Gecko behavior?
> aMessage: This may be any value or JavaScript object handled by the structured clone algorithm, which includes cyclical references.
[1]: https://developer.mozilla.org/en-US/docs/Web/API/Worker/post...