web worker's postMessage throws DataCloneError when transfer argument is specified

Issue #104218

Details

Created
Apr 27, 2014
Privacy
This issue is public.
Found in build #
0.0010
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

URL = http://async5.org/temp/tran/transferables.html

URL:
http://async5.org/temp/tran/transferables.html

REPRO STEPS:
Execute script that loads the worker like:

var ar = new Uint8Array([5]);
postMessage(ar, [ar.buffer]);

And prints the array accepted as a message from this worker. See http://async5.org/temp/tran/transferables.html

EXPECTED RESULTS:
Show array content (in our case ‘5’)

ACTUAL RESULTS:
DataCloneError exception is thrown in the worker

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “IPBS P.”

      Changed Status to “Site Outreach”

      Changed Assigned To from “IPBS P.” to “Eugene V.”

      Changed Status from “Site Outreach”

      Changed Steps to Reproduce

    You need to sign in to your Microsoft account to add a comment.

    Sign in