-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
document.open() and the load event #10239
base: master
Are you sure you want to change the base?
Conversation
@bzbarsky I tried to figure out what browsers do with the load event because of your comments in #10209 and I'm not much wiser. This test passes in Safari and fails everywhere else (it fails in Firefox because Firefox loses the written content; it fails in Chrome and Edge because they dispatch a normal load event on the window). I did notice that Chrome has some logic for the load event here: https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/dom/Document.cpp?l=3031. And indeed if I don't wait for the |
Build PASSEDStarted: 2018-03-29 12:33:29 View more information about this build on: |
It fails in Firefox because Furthermore, as the test is written right now, the |
I adjusted the test a bit, but now it fails in no browser. I think the main difference between browsers is what happens when you invoke the document open steps during the frame's load event. I'll add something for that. |
No description provided.