Skip to content

Commit

Permalink
specify realm when creating arraybuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot committed May 4, 2024
1 parent 14bad1d commit 2a5da28
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -7274,8 +7274,7 @@ algorithm, given an object that includes {{Body}} <var>object</var> and an algor
<div algorithm>
<p>The <dfn method for=Body><code>arrayBuffer()</code></dfn> method steps are to return the result
of running <a for=Body>consume body</a> with <a>this</a> and the following step given a
<a for=/>byte sequence</a> <var>bytes</var>: return a new {{ArrayBuffer}} whose contents are
<var>bytes</var>.
<a for=/>byte sequence</a> <var>bytes</var>: return the result of [=ArrayBuffer/creating=] an {{ArrayBuffer}} from <var>bytes</var> in <a>this</a>'s <a>relevant realm</a>.

<p class="note">The above method can reject with a {{RangeError}}.
</div>
Expand All @@ -7291,7 +7290,7 @@ and whose {{Blob/type}} attribute is the result of <a for=Body>get the MIME type

<div algorithm>
<p>The <dfn method for=Body><code>formData()</code></dfn> method steps are to return the result of
running <a for=Body>consume body</a> with <a>this</a> and the following step given a
running <a for=Body>consume body</a> with <a>this</a> and the following steps given a
<a for=/>byte sequence</a> <var>bytes</var>:

<ol>
Expand Down

0 comments on commit 2a5da28

Please sign in to comment.