Re: [heycam/webidl] Who uses the detach concept for ArrayBuffer? (#724)

Hmm. Taking over this bug as the continuation of https://www.w3.org/Bugs/Public/show_bug.cgi?id=28798.

@annevk, the only non-Web GL user of `[AllowShared]` currently is https://encoding.spec.whatwg.org/. For `encodeInto()`, it seems you want to get a reference, so you'll use `[UnsafeReference]`. But for `decode()`, how do you want the spec prose to read there? Do you want a copy to be made automatically?

This impacts whether `[AllowShared]` automatically causes `[UnsafeReference]`, or not.

-- 
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/724#issuecomment-616853672

Received on Monday, 20 April 2020 22:56:12 UTC