Closed Bug 1476481 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 12043 - [Background Fetch] Support layout tests for the feature

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12043 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/12043
Details from upstream follow.

Peter Beverloo <peter@chromium.org> wrote:
>  [Background Fetch] Support layout tests for the feature
>  
>  An implementation of BackgroundFetchDelegate has been provided to
>  content shell which enables Background Fetches, without UI, to finish.
>  It uses the Download Service through a new dependency. This dependency
>  will be removed once the Download Service has been servicified, as
>  //content can depend on it directly from that point forward.
>  
>  In context of the WPT tests, additional machinery has been added to
>  enable communication with the Service Worker, required for it to tell
>  the test about the result of the various Background Fetch events. The
>  "fetch.https.window.js" file now verifies the behaviour and results
>  of a single fetched file.
>  
>  Bug: 864561
>  
>  Change-Id: If53e6755ae8ea924712f5bdace4df4f658bc53d7
>  Reviewed-on: https://chromium-review.googlesource.com/1135536
>  WPT-Export-Revision: ab8bff91f19b8d41960cce9559356a9c1996cba0
PR 12043 applied with additional changes from upstream: 2f5eda4e66c9cfb8fc8f86f11de6bee8cde31750
Component: web-platform-tests → DOM: Service Workers
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e6849628f755
[wpt PR 12043] - [Background Fetch] Support layout tests for the feature, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/8ed9573b500b
[wpt PR 12043] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/e6849628f755
https://hg.mozilla.org/mozilla-central/rev/8ed9573b500b
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.