- From: <bugzilla@jessica.w3.org>
- Date: Thu, 28 Jan 2016 01:02:55 +0000
- To: public-script-coord@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28798 --- Comment #5 from Anne <annevk@annevk.nl> --- The only thing in HTML that takes a BufferSource-like argument is WebSocket and we'd copy there. (The other place they come up is structured clones which requires custom logic.) sendBeacon(), fetch(), and XMLHttpRequest would copy. TextDecoder would copy. Web Audio API has custom logic (it detaches the ArrayBuffer). Haven't looked further, but it seems like the pattern is copy or custom logic. Having something for copy in IDL would be great. In particular by letting the input be a BufferSource, and the output an exception or a byte sequence. -- You are receiving this mail because: You are on the CC list for the bug.
Received on Thursday, 28 January 2016 01:02:59 UTC