whatwg / webidl

Web IDL Standard
https://webidl.spec.whatwg.org/
Other
410 stars 164 forks source link

Offer [[ArrayBufferDetachKey]] abstraction? #1375

Open annevk opened 1 year ago

annevk commented 1 year ago

What is the issue with the Web IDL Standard?

Apparently the Wasm JS API and WebGPU both poke directly at ArrayBuffer internals. That does not seem entirely ideal.

Perhaps this can be something you can pass to "create an ArrayBuffer" or perhaps it should be a separate operation.