Skip to content

Commit 9fe9cca

Browse files
authored
Editorial: annotate WindowProxy JavaScript willful violations
1 parent 132a55e commit 9fe9cca

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

source

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79270,9 +79270,11 @@ callback <dfn>FrameRequestCallback</dfn> = void (<span>DOMHighResTimeStamp</span
7927079270
<p>If <span>IsPlatformObjectSameOrigin</span>(<var>W</var>) is true, then return
7927179271
<span>OrdinaryGetOwnProperty</span>(<var>W</var>, <var>P</var>).</p>
7927279272

79273-
<p class="note">This violates JavaScript's internal method invariants. <a
79274-
href="https://bugzilla.mozilla.org/show_bug.cgi?id=1197958#c4">Gecko bug 1197958 comment 4</a>
79275-
has further discussion on the manner.</p></li>
79273+
<p class="note">This is a <span>willful violation</span> of the JavaScript specification to
79274+
maintain compatibility with existing Web content. See <a
79275+
href="https://github.com/tc39/ecma262/issues/672">tc39/ecma262 issue 672</a> for more
79276+
information. <ref spec=JAVASCRIPT></p>
79277+
</li>
7927679278

7927779279
<li><p>Let <var>property</var> be <span>CrossOriginGetOwnPropertyHelper</span>(<var>W</var>,
7927879280
<var>P</var>).</p></li>
@@ -79311,8 +79313,10 @@ callback <dfn>FrameRequestCallback</dfn> = void (<span>DOMHighResTimeStamp</span
7931179313
<p>If <span>IsPlatformObjectSameOrigin</span>(<var>W</var>) is true, then return ?
7931279314
<span>OrdinaryDefineOwnProperty</span>(<var>W</var>, <var>P</var>, <var>Desc</var>).</p>
7931379315

79314-
<p class="note">See above about how this violates JavaScript's internal method
79315-
invariants.</p></li>
79316+
<p class="note">This is a <span>willful violation</span> of the JavaScript specification to
79317+
maintain compatibility with existing Web content. See <a
79318+
href="https://github.com/tc39/ecma262/issues/672">tc39/ecma262 issue 672</a> for more
79319+
information. <ref spec=JAVASCRIPT></p>
7931679320

7931779321
<li><p>Return false.</p></li>
7931879322
</ol>

0 commit comments

Comments
 (0)