Re: [heycam/webidl] Idea for [AllowShared] (handling SharedArrayBuffer safely) (#638)

(One observable aspect of this is that passing a SharedArrayBuffer to `postMessage()` would throw a TypeError rather than a "DataCloneError" DOMException as IDL would catch [[AllowHighResolutionTimers]] being false. That seems positive as all APIs would get equivalent error handling for SharedArrayBuffer. A negative is the additional branching required for `any`/`object`, though implementations could create fast paths here and there as needed...)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/638#issuecomment-460603902

Received on Tuesday, 5 February 2019 11:28:15 UTC