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

Wait until window load before calling window.stop() in XHR test #11091

Merged
merged 1 commit into from May 21, 2018

Conversation

foolip
Copy link
Member

@foolip foolip commented May 21, 2018

https://wpt.fyi/xhr/abort-after-stop.htm is broken in 3/4 browsers and
it appears this is because calling window.stop() causes the window
load event to never be fired, and testharness.js depends on that.

There is no harness timeout in Edge, because Edge fires the load
event. Tested with https://jsbin.com/tufepag/edit?js,console and filed
#11090 for the lack of
tests for this.

https://wpt.fyi/xhr/abort-after-stop.htm is broken in 3/4 browsers and
it appears this is because calling window.stop() causes the window
load event to never be fired, and testharness.js depends on that.

There is no harness timeout in Edge, because Edge fires the load
event. Tested with https://jsbin.com/tufepag/edit?js,console and filed
#11090 for the lack of
tests for this.
@foolip foolip merged commit aa09129 into master May 21, 2018
@foolip foolip deleted the fix-window-stop-harness-timeout branch May 21, 2018 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants