Bug 164263
Summary: | SharedArrayBuffer should not have to be in the postMessage transfer list | ||
---|---|---|---|
Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | annevk |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | All | ||
OS: | All |
Filip Pizlo
Instead, the new proposal is that SharedArrayBuffer passed to postMessage to a DedicatedWorker will share it regardless of whether or not it's in the transfer list, while if it's passed to any other kind of cloner, it's cloned.
Weird, but that's what's being requested.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Anne van Kesteren
That's not quite what the model we ended up with in https://github.com/whatwg/html/pull/2518. If it's in the transfer list you get an exception, and if it gets to an agent you cannot share with that agent gets an error.