-
Notifications
You must be signed in to change notification settings - Fork 121
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
support: understanding iframes #164
Comments
found this test, but it doesn't touch the .top .parent properties either domino/test/web-platform-tests.js Line 145 in a18b920
|
guessing there's no support for nesting. Is this something we might want to add (i assumed it was already supported because of the w3c tests) https://github.com/fgnass/domino/blob/master/lib/Window.js#L32 |
domino doesn't generally do loading, by design. If there's some useful improvements to the handling of |
don't care about the loading either (the test reset the location just to id them). mostly the nesting is what matters. |
I am trying to understand why this code asserts true.
i'm running this on mocha, over node12.
debugging i can confirm that at the time of assert, both window.top and window.self shows the same object (having location.href=child.html.
what am i doing wrong here? Is there a better way to mock a window with a parent window similar to an iframe relation for a test?
The text was updated successfully, but these errors were encountered: