Skip to content

Commit

Permalink
Fix structured serialization to account for [[PrivateElements]]
Browse files Browse the repository at this point in the history
Closes #10425.
  • Loading branch information
annevk committed Jul 2, 2024
1 parent 2366f7b commit 5d422cc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -9760,8 +9760,8 @@ interface <dfn interface>DOMStringList</dfn> {
<span>"<code>DataCloneError</code>"</span> <code>DOMException</code>.</p></li>

<li>
<p>Otherwise, if <var>value</var> has any internal slot other than [[Prototype]] or
[[Extensible]], then throw a <span>"<code>DataCloneError</code>"</span>
<p>Otherwise, if <var>value</var> has any internal slot other than [[Prototype]],
[[Extensible]], or [[PrivateElements]], then throw a <span>"<code>DataCloneError</code>"</span>
<code>DOMException</code>.</p>

<p class="example">For instance, a [[PromiseState]] or [[WeakMapData]] internal slot.</p>
Expand Down Expand Up @@ -144653,6 +144653,7 @@ INSERT INTERFACES HERE
Stephen White,
Steve Comstock,
Steve Faulkner,
Steve Fink,
Steve Orvell,
Steve Runyon,
Steven Bennett,
Expand Down

0 comments on commit 5d422cc

Please sign in to comment.