Visitar URL original
Sandboxed origin comparison should use window.origin instead of location.origin by icesfont · Pull Request #49840 · web-platform-tests/wpt · GitHub
Skip to content

Sandboxed origin comparison should use window.origin instead of location.origin - #49840

Open
icesfont wants to merge 1 commit into
web-platform-tests:masterfrom
icesfont:fix/origin-meta-sandbox
Open

icesfont wants to merge 1 commit into
web-platform-tests:masterfrom
icesfont:fix/origin-meta-sandbox

Conversation

@icesfont

Copy link
Copy Markdown
Contributor

window.origin is the origin that changes based on sandboxing with/without allow-same-origin; location.origin is taken from the page's URL which remains the same.

I think this is the only place that needs to change

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants