[heycam/webidl] "get a copy of the bytes held by the buffer source" should not fail for detached buffers (#151)

Currently it seems that IDL throws for detached buffers. However, as far as I can tell implementations do not follow this and simply end up with the empty byte sequence whenever they encounter a detached buffer.

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4414 is my demo for this (note the lack of exceptions/rejections).

(Note that there's also still an ask to clean up this aspect of IDL and make it much easier to work with: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28798.)

-- 
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/151

Received on Wednesday, 24 August 2016 13:01:42 UTC