Skip to content

Commit 72671aa

Browse files
domeniczcorpan
authored andcommitted
Fix bad variable references in speculation rules
These were introduced in c6314c8.
1 parent 3d951d2 commit 72671aa

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

source

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64822,7 +64822,7 @@ document.body.append(script1, script2);
6482264822
<ol>
6482364823
<li><p>Let <var>result</var> be the result of <span data-x="create a speculation rules
6482464824
parse result">creating a speculation rules parse result</span> given <var>source text</var>
64825-
and <var>document</var>.</p></li>
64825+
and <var>el</var>'s <span>node document</span>.</p></li>
6482664826

6482764827
<li><p><span>Mark as ready</span> <var>el</var> given <var>result</var>.</p></li>
6482864828
</ol>
@@ -114141,7 +114141,8 @@ dictionary <dfn dictionary>PromiseRejectionEventInit</dfn> : <span>EventInit</sp
114141114141
data-x="concept-document-window">associated <code>Document</code></span>'s <span
114142114142
data-x="document-sr-sets">speculation rule sets</span>.</p></li>
114143114143

114144-
<li><p><span>Consider speculative loads</span> for <var>document</var>.</p></li>
114144+
<li><p><span>Consider speculative loads</span> for <var>global</var>'s <span
114145+
data-x="concept-document-window">associated <code>Document</code></span>.</p></li>
114145114146
</ol>
114146114147

114147114148
<p>To <dfn>unregister speculation rules</dfn> given a <code>Window</code> <var>global</var> and a
@@ -114156,7 +114157,8 @@ dictionary <dfn dictionary>PromiseRejectionEventInit</dfn> : <span>EventInit</sp
114156114157
data-x="concept-document-window">associated <code>Document</code></span>'s <span
114157114158
data-x="document-sr-sets">speculation rule sets</span>.</p></li>
114158114159

114159-
<li><p><span>Consider speculative loads</span> for <var>document</var>.</p></li>
114160+
<li><p><span>Consider speculative loads</span> for <var>global</var>'s <span
114161+
data-x="concept-document-window">associated <code>Document</code></span>.</p></li>
114160114162
</ol>
114161114163

114162114164
<p>To <dfn>update speculation rules</dfn> given a <code>Window</code> <var>global</var>, a

0 commit comments

Comments
 (0)