Skip to content

Commit

Permalink
Fix structuredClone() to use StructuredDeserializeWithTransfer
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreu Botella authored Sep 17, 2021
1 parent de120a0 commit 75254d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -9202,8 +9202,11 @@ o.myself = o;</code></pre>
<span>StructuredSerializeWithTransfer</span>(<var>value</var>, <var>options</var>["<code
data-x="dom-StructuredSerializeOptions-transfer">transfer</code>"]).</p></li>

<li><p>Return ? <span>StructuredDeserialize</span>(<var>serialized</var>, <span>this</span>'s
<li><p>Let <var>deserializeRecord</var> be ?
<span>StructuredDeserializeWithTransfer</span>(<var>serialized</var>, <span>this</span>'s
<span data-x="concept-relevant-realm">relevant Realm</span>).</p></li>

<li><p>Return <var>deserializeRecord</var>.[[Deserialized]].</p></li>
</ol>

</div>
Expand Down

0 comments on commit 75254d9

Please sign in to comment.