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

I was thinking that if it happens as the last step of conversion it could perhaps also be done elsewhere.

I'm interested in these issues:
* Making it easier to audit places where SharedArrayBuffer is used. ([UnsafeAllowShared] is easier to search for and jumps out more at reviewers of new APIs. The status quo is that `any`/`object`/[AllowShared] are potentially problematic.)
* Provide a way for using SharedArrayBuffer that is known to be "safe" (i.e., checks the [[AllowHighResolutionTimers]] internal slot).

(We also need to do this audit, but that could be a separate issue as well.)

-- 
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-460690666

Received on Tuesday, 5 February 2019 15:53:54 UTC