[html5] r8455 - [giow] (2) Make WebSocket binary data ArrayBuffers mutable, for consistency with [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Feb 3 15:17:20 PST 2014


Author: ianh
Date: 2014-02-03 15:17:19 -0800 (Mon, 03 Feb 2014)
New Revision: 8455

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Make WebSocket binary data ArrayBuffers mutable, for consistency with XHR.
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2014-02-03 23:16:12 UTC (rev 8454)
+++ complete.html	2014-02-03 23:17:19 UTC (rev 8455)
@@ -80595,7 +80595,7 @@
     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>

Modified: index
===================================================================
--- index	2014-02-03 23:16:12 UTC (rev 8454)
+++ index	2014-02-03 23:17:19 UTC (rev 8455)
@@ -80595,7 +80595,7 @@
     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>

Modified: source
===================================================================
--- source	2014-02-03 23:16:12 UTC (rev 8454)
+++ source	2014-02-03 23:17:19 UTC (rev 8455)
@@ -90372,7 +90372,7 @@
     <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>
 




More information about the Commit-Watchers mailing list