Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix javascript: URL evaluation origin variable #8711

Merged
merged 1 commit into from
Jan 12, 2023
Merged

Conversation

domenic
Copy link
Member

@domenic domenic commented Jan 12, 2023

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.

/cc @wanderview as this will presumably cause a small merge conflict with #8447.


/browsing-the-web.html ( diff )

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.
@domenic domenic merged commit c5448e9 into main Jan 12, 2023
@domenic domenic deleted the js-url-origin-var branch January 12, 2023 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants