This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26968 - Use BufferSource and "get a copy of the bytes held by the buffer source" instead of ArrayBuffer/ArrayBufferView in send() argument
Summary: Use BufferSource and "get a copy of the bytes held by the buffer source" inst...
Status: RESOLVED DUPLICATE of bug 27030
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: https://html.spec.whatwg.org/#dom-web...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-04 12:38 UTC by contributor
Modified: 2014-11-26 20:04 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2014-10-04 12:38:55 UTC
Specification: https://html.spec.whatwg.org/multipage/comms.html
Multipage: https://html.spec.whatwg.org/multipage/#dom-websocket
Complete: https://html.spec.whatwg.org/#dom-websocket
Referrer: https://html.spec.whatwg.org/multipage/

Comment:
Use BufferSource and "get a copy of the bytes held by the buffer source"
instead of ArrayBuffer/ArrayBufferView in send() argument

Posted from: 46.127.136.57 by annevk@annevk.nl
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:35.0) Gecko/20100101 Firefox/35.0
Comment 1 Ian 'Hixie' Hickson 2014-10-14 21:46:42 UTC
Why? What is BufferSource? What problem does this solve? Context?
Comment 2 Anne 2014-10-15 07:11:41 UTC
It defines in more detail how to obtain data from either an ArrayBufferView or ArrayBuffer (and similar such objects if we introduce more going forward). It's a new shared abstraction that all features that get byte input can reuse.
Comment 3 Ian 'Hixie' Hickson 2014-10-15 18:31:11 UTC
Where is it defined?
Comment 4 Anne 2014-10-16 07:26:04 UTC
In IDL. IDL now deals better with the whole byte story after TC39 took them over.
Comment 5 Ian 'Hixie' Hickson 2014-11-26 20:04:07 UTC

*** This bug has been marked as a duplicate of bug 27030 ***