Skip to content
Permalink
Browse files
[giow] (2) Make WebSocket binary data ArrayBuffers mutable, for consi…
…stency with XHR.

Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8455 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 3, 2014
1 parent f191205 commit 12a92cd1ed3e9a0a46a23d2527f64f3aaffe1812
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
@@ -80595,7 +80595,7 @@ <h4 id=the-websocket-interface><span class=secno>9.3.2 </span>The <code><a href=
initialize <var title="">event</var>'s <code title=dom-MessageEvent-data><a href=#dom-messageevent-data>data</a></code> attribute
to a new <code><a href=#blob>Blob</a></code> object that represents <var title="">data</var> as its raw data. <a href=#refsFILEAPI>[FILEAPI]</a></p>

<p>If <var title="">type</var> indicates that the data is Binary, and <code title=dom-WebSocket-binaryType><a href=#dom-websocket-binarytype>binaryType</a></code> is set to "<code title="">arraybuffer</code>", then initialize <var title="">event</var>'s <code title=dom-MessageEvent-data><a href=#dom-messageevent-data>data</a></code> attribute to a new read-only <code><a href=#arraybuffer>ArrayBuffer</a></code> <!-- XXXX -->
<p>If <var title="">type</var> indicates that the data is Binary, and <code title=dom-WebSocket-binaryType><a href=#dom-websocket-binarytype>binaryType</a></code> is set to "<code title="">arraybuffer</code>", then initialize <var title="">event</var>'s <code title=dom-MessageEvent-data><a href=#dom-messageevent-data>data</a></code> attribute to a new <code><a href=#arraybuffer>ArrayBuffer</a></code>
object whose contents are <var title="">data</var>. <a href=#refsECMA262>[ECMA262]</a></p>

</li>
2 index
@@ -80595,7 +80595,7 @@ socket.onopen = function () {
initialize <var title="">event</var>'s <code title=dom-MessageEvent-data><a href=#dom-messageevent-data>data</a></code> attribute
to a new <code><a href=#blob>Blob</a></code> object that represents <var title="">data</var> as its raw data. <a href=#refsFILEAPI>[FILEAPI]</a></p>

<p>If <var title="">type</var> indicates that the data is Binary, and <code title=dom-WebSocket-binaryType><a href=#dom-websocket-binarytype>binaryType</a></code> is set to "<code title="">arraybuffer</code>", then initialize <var title="">event</var>'s <code title=dom-MessageEvent-data><a href=#dom-messageevent-data>data</a></code> attribute to a new read-only <code><a href=#arraybuffer>ArrayBuffer</a></code> <!-- XXXX -->
<p>If <var title="">type</var> indicates that the data is Binary, and <code title=dom-WebSocket-binaryType><a href=#dom-websocket-binarytype>binaryType</a></code> is set to "<code title="">arraybuffer</code>", then initialize <var title="">event</var>'s <code title=dom-MessageEvent-data><a href=#dom-messageevent-data>data</a></code> attribute to a new <code><a href=#arraybuffer>ArrayBuffer</a></code>
object whose contents are <var title="">data</var>. <a href=#refsECMA262>[ECMA262]</a></p>

</li>
2 source
@@ -90372,7 +90372,7 @@ socket.onopen = function () {
<p>If <var data-x="">type</var> indicates that the data is Binary, and <code
data-x="dom-WebSocket-binaryType">binaryType</code> is set to "<code
data-x="">arraybuffer</code>", then initialize <var data-x="">event</var>'s <code
data-x="dom-MessageEvent-data">data</code> attribute to a new read-only <code>ArrayBuffer</code> <!-- XXXX -->
data-x="dom-MessageEvent-data">data</code> attribute to a new <code>ArrayBuffer</code>
object whose contents are <var data-x="">data</var>. <a
href="#refsECMA262">[ECMA262]</a></p>

0 comments on commit 12a92cd

Please sign in to comment.