Closed Bug 1463077 Opened 8 years ago Closed 8 years ago

[wpt-sync] Sync PR 11091 - Wait until window load before calling window.stop() in XHR test

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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 <philip@foolip.org> 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
Ran 1 tests and 1 subtests OK : 1 FAIL : 1
Pushed by wptsync@mozilla.com: 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
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.