Skip to content

Commit

Permalink
Pass the target target realm to deserialization steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger authored Sep 27, 2022
1 parent 771e8e3 commit 8975ae1
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -8664,7 +8664,8 @@ interface <dfn interface>DOMStringList</dfn> {
</dd>

<dt><dfn export>deserialization steps</dfn>, taking a <span>Record</span>
<var>serialized</var> and a <span>platform object</span> <var>value</var></dt>
<var>serialized</var>, a <span>platform object</span> <var>value</var>, and a
<span>JavaScript Realm</span> <var>targetRealm</var></dt>
<dd>
<p>A set of steps that deserializes the data in <var>serialized</var>, using it to set up
<var>value</var> as appropriate. <var>value</var> will be a newly-created instance of the
Expand Down Expand Up @@ -9539,7 +9540,8 @@ o.myself = o;</code></pre>
<ol>
<li>
<p>Perform the appropriate <span>deserialization steps</span> for the interface identified
by <var>serialized</var>.[[Type]], given <var>serialized</var> and <var>value</var>.</p>
by <var>serialized</var>.[[Type]], given <var>serialized</var>, <var>value</var>, and
<var>targetRealm</var>.</p>

<p>The <span>deserialization steps</span> may need to perform a <dfn
export>sub-deserialization</dfn>. This is an operation which takes as input a
Expand Down Expand Up @@ -66875,8 +66877,8 @@ try {
data-x="dom-imagedata-colorSpace">colorSpace</code> attribute.</p></li>
</ol>

<p>Their <span>deserialization steps</span>, given <var>serialized</var> and <var>value</var>,
are:</p>
<p>Their <span>deserialization steps</span>, given <var>serialized</var>, <var>value</var>,
and <var>targetRealm</var>, are:</p>

<ol>
<li><p>Initialize <var>value</var>'s <code data-x="dom-imagedata-data">data</code> attribute
Expand Down Expand Up @@ -100148,8 +100150,8 @@ dictionary <dfn dictionary>ImageBitmapOptions</dfn> {
data-x="concept-ImageBitmap-bitmap-data">bitmap data</span>.</p></li>
</ol>

<p>Their <span>deserialization steps</span>, given <var>serialized</var> and <var>value</var>,
are:</p>
<p>Their <span>deserialization steps</span>, given <var>serialized</var>, <var>value</var>,
and <var>targetRealm</var>, are:</p>

<ol>
<li><p>Set <var>value</var>'s <span data-x="concept-ImageBitmap-bitmap-data">bitmap data</span>
Expand Down

0 comments on commit 8975ae1

Please sign in to comment.