@@ -2951,10 +2951,10 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
2951
2951
<li><dfn data-x-href="https://tc39.es/ecma262/#sec-abstract-closure">abstract closure</dfn></li>
2952
2952
<li><dfn data-x-href="https://tc39.es/ecma262/#immutable-prototype-exotic-object">immutable prototype exotic object</dfn></li>
2953
2953
<li><dfn data-x-href="https://tc39.es/ecma262/#sec-well-known-symbols">Well-Known Symbols</dfn>, including
2954
- <dfn>@@ hasInstance</dfn>,
2955
- <dfn>@@ isConcatSpreadable</dfn>,
2956
- <dfn>@@ toPrimitive</dfn>, and
2957
- <dfn>@@ toStringTag</dfn></li>
2954
+ <dfn>%Symbol. hasInstance% </dfn>,
2955
+ <dfn>%Symbol. isConcatSpreadable% </dfn>,
2956
+ <dfn>%Symbol. toPrimitive% </dfn>, and
2957
+ <dfn>%Symbol. toStringTag% </dfn></li>
2958
2958
<li><dfn data-x-href="https://tc39.es/ecma262/#sec-well-known-intrinsic-objects">Well-Known Intrinsic Objects</dfn>, including
2959
2959
<dfn data-x-href="https://tc39.es/ecma262/#sec-properties-of-the-array-prototype-object">%Array.prototype%</dfn>,
2960
2960
<dfn data-x-href="https://tc39.es/ecma262/#sec-properties-of-the-error-prototype-object">%Error.prototype%</dfn>,
@@ -88729,8 +88729,8 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
88729
88729
<h6><dfn>CrossOriginPropertyFallback</dfn> ( <var>P</var> )</h6>
88730
88730
88731
88731
<ol>
88732
- <li><p>If <var>P</var> is "<code data-x="">then</code>", <span>@@ toStringTag</span>,
88733
- <span>@@ hasInstance</span>, or <span>@@ isConcatSpreadable</span>, then return
88732
+ <li><p>If <var>P</var> is "<code data-x="">then</code>", <span>%Symbol. toStringTag% </span>,
88733
+ <span>%Symbol. hasInstance% </span>, or <span>%Symbol. isConcatSpreadable% </span>, then return
88734
88734
<span>PropertyDescriptor</span>{
88735
88735
[[Value]]: undefined,
88736
88736
[[Writable]]: false,
@@ -88908,7 +88908,7 @@ dictionary <dfn dictionary>DragEventInit</dfn> : <span>MouseEventInit</span> {
88908
88908
data-x="list append">append</span> <var>e</var>.[[Property]] to <var>keys</var>.</p></li>
88909
88909
88910
88910
<li><p>Return the concatenation of <var>keys</var> and « "<code data-x="">then</code>",
88911
- <span>@@ toStringTag</span>, <span>@@ hasInstance</span>, <span>@@ isConcatSpreadable</span>
88911
+ <span>%Symbol. toStringTag% </span>, <span>%Symbol. hasInstance% </span>, <span>%Symbol. isConcatSpreadable% </span>
88912
88912
».</p></li>
88913
88913
</ol>
88914
88914
@@ -90412,7 +90412,7 @@ interface <dfn interface>BarProp</dfn> {
90412
90412
[[Enumerable]]: false,
90413
90413
[[Configurable]]: false }).</p></li>
90414
90414
90415
- <li><p>Perform ! <var>location</var>.[[DefineOwnProperty]](<span>@@ toPrimitive</span>, {
90415
+ <li><p>Perform ! <var>location</var>.[[DefineOwnProperty]](<span>%Symbol. toPrimitive% </span>, {
90416
90416
[[Value]]: undefined,
90417
90417
[[Writable]]: false,
90418
90418
[[Enumerable]]: false,
@@ -90424,12 +90424,12 @@ interface <dfn interface>BarProp</dfn> {
90424
90424
<li><p>Return <var>location</var>.</p></li>
90425
90425
</ol>
90426
90426
90427
- <p class="note">The addition of <code data-x="">valueOf</code> and <span>@@ toPrimitive</span> own
90427
+ <p class="note">The addition of <code data-x="">valueOf</code> and <span>%Symbol. toPrimitive% </span> own
90428
90428
data properties, as well as the fact that all of <code>Location</code>'s IDL attributes are marked
90429
90429
<code data-x="">[<span>LegacyUnforgeable</span>]</code>, is required by legacy code that consulted
90430
90430
the <code>Location</code> interface, or stringified it, to determine the <span
90431
90431
data-x="concept-document-url">document URL</span>, and then used it in a security-sensitive way.
90432
- In particular, the <code data-x="">valueOf</code>, <span>@@ toPrimitive</span>, and <code
90432
+ In particular, the <code data-x="">valueOf</code>, <span>%Symbol. toPrimitive% </span>, and <code
90433
90433
data-x="">[<span>LegacyUnforgeable</span>]</code> stringifier mitigations ensure that code such as
90434
90434
<code data-x="">foo[location] = bar</code> or <code data-x="">location + ""</code> cannot be
90435
90435
misdirected.</p>
0 commit comments