Bug 164263

Summary: SharedArrayBuffer should not have to be in the postMessage transfer list
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: annevk
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Description Filip Pizlo 2016-10-31 20:26:06 PDT
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.
Comment 1 Anne van Kesteren 2017-04-24 04:05:13 PDT
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.