Skip to content

Commit c5448e9

Browse files
committed
Fix javascript: URL evaluation origin variable
Although the variable is called initiatorOrigin at the call site, inside the "evaluate a javascript: URL" algorithm the parameter is actually named newDocumentOrigin, so that's the name that the algorithm should use. Noticed in https://github.com/whatwg/html/pull/8447/files#r1067234151.
1 parent 7d577fb commit c5448e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90210,7 +90210,7 @@ location.href = '#foo';</code></pre>
9021090210
<dd><var>url</var></dd>
9021190211

9021290212
<dt><span data-x="coop-enforcement-origin">origin</span></dt>
90213-
<dd><var>initiatorOrigin</var></dd>
90213+
<dd><var>newDocumentOrigin</var></dd>
9021490214

9021590215
<dt><span data-x="coop-enforcement-coop">cross-origin opener policy</span></dt>
9021690216
<dd><var>coop</var></dd>
@@ -90232,7 +90232,7 @@ location.href = '#foo';</code></pre>
9023290232
<dd><var>response</var></dd>
9023390233

9023490234
<dt><span data-x="navigation-params-origin">origin</span></dt>
90235-
<dd><var>initiatorOrigin</var></dd>
90235+
<dd><var>newDocumentOrigin</var></dd>
9023690236

9023790237
<dt><span data-x="navigation-params-policy-container">policy container</span></dt>
9023890238
<dd><var>policyContainer</var></dd>

0 commit comments

Comments
 (0)