Skip to content

Commit

Permalink
Specify the realm used for WebSocket-created Blobs and ArrayBuffers
Browse files Browse the repository at this point in the history
Fixes part of #1959.
  • Loading branch information
domenic committed Oct 25, 2016
1 parent 5fafa73 commit 6bf5e44
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -93821,16 +93821,17 @@ socket.onopen = function () {
<dt><var>type</var> indicates that the data is Binary and <code
data-x="dom-WebSocket-binaryType">binaryType</code> is "<code
data-x="dom-BinaryType-blob">blob</code>"</dt>
<dd>a new <code>Blob</code> object that represents <var>data</var> as its raw data <ref
spec=FILEAPI></dd>
<dd>a new <code>Blob</code> object, created in the <span
data-x="concept-relevant-realm">relevant Realm</span> of the <code>WebSocket</code> object,
that represents <var>data</var> as its raw data <ref spec=FILEAPI></dd>

<dt><var>type</var> indicates that the data is Binary and <code
data-x="dom-WebSocket-binaryType">binaryType</code> is "<code
data-x="dom-BinaryType-arraybuffer">arraybuffer</code>"</dt>
<dd>a new <code data-x="idl-ArrayBuffer">ArrayBuffer</code> object whose contents are
<var>data</var></dd>
<dd>a new <code data-x="idl-ArrayBuffer">ArrayBuffer</code> object, created in the <span
data-x="concept-relevant-realm">relevant Realm</span> of the <code>WebSocket</code> object,
whose contents are <var>data</var></dd>
</dl>

</li>

<li><p><span data-x="concept-event-fire">Fire an event</span> named <code
Expand Down

0 comments on commit 6bf5e44

Please sign in to comment.