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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

icesfont
Copy link
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

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