Closed Bug 1463077 Opened 2 years ago Closed 2 years ago
[wpt-sync] Sync PR 11091 - Wait until window load before calling window
.stop() in XHR test
Sync web-platform-tests PR 11091 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/w3c/web-platform-tests/pull/11091 Details from upstream follow. Philip Jägenstedt <email@example.com> wrote: > Wait until window load before calling window.stop() in XHR test > > 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 > https://github.com/w3c/web-platform-tests/issues/11090 for the lack of > tests for this.
Component: web-platform-tests → DOM
Product: Testing → Core
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=9c1e0b2dc8d667c104d34b4a9c0bf95ad73773f6
Ran 1 tests and 1 subtests OK : 1 FAIL : 1
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/a25410cd6058 [wpt PR 11091] - Wait until window load before calling window.stop() in XHR test, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/0f6ed3060586 [wpt PR 11091] - Update wpt metadata, a=testonly
You need to log in before you can comment on or make changes to this bug.