Closed Bug 1499505 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 13549 - [Background Fetch] Throw DOMException for responseReady on abort.

Categories

(Core :: DOM: Service Workers, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 13549 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/13549 Details from upstream follow. Rayan Kanso <rayankans@chromium.org> wrote: > [Background Fetch] Throw DOMException for responseReady on abort. > > According to the spec, responseReady in BackgroundFetchRecord should > throw an AbortError DOMException if the fetch was abandoned. > > https://wicg.github.io/background-fetch/#create-record-objects (2.4.3) > > Change-Id: Ieadf278acd061e05b8822014d0934f050fcac702 > Reviewed-on: https://chromium-review.googlesource.com/1283692 > WPT-Export-Revision: ffbcabdec2aa266cefacc91697c5ccc5e79b29fa
PR 13549 applied with additional changes from upstream: c54a084daf22377e9c9ac3b50f9220ad0df27858
Component: web-platform-tests → DOM: Service Workers
Product: Testing → Core
Ran 4 tests and 21 subtests OK : 4 FAIL : 21 New tests that have failures or other problems: /background-fetch/abort.https.window.html Aborting the same registration twice fails: FAIL An aborted fetch throws a DOM exception when accessing an incomplete record: FAIL Calling BackgroundFetchRegistration.abort sets the correct fields and responses are still available: FAIL
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/bd0a5d240b39 [wpt PR 13549] - [Background Fetch] Throw DOMException for responseReady on abort., a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.