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

Accessing a child frame's contentWindow.location.href during parent frame's onload is getting SecurityError in WPT html/webappapis/dynamic-markup-insertion/opening-the-input-stream/url.window #20609

Closed
pshaughn opened this issue Dec 4, 2019 · 1 comment

Comments

@pshaughn
Copy link
Contributor

pshaughn commented Dec 4, 2019

The SecurityError has no Javascript stack trace, but trial and error reveals the assert_equals(childWin.location.href, blankURL);` of frame.onload is where it happens. childWin.location is itself accessible, but childWin.location.href is not. Everything involved is same-origin.

@pshaughn
Copy link
Contributor Author

pshaughn commented Dec 4, 2019

sorry I did it again, wrong repo

@pshaughn pshaughn closed this as completed Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant