Closed Bug 1489193 Opened Last year Closed Last year

[wpt-sync] Sync PR 12873 - [Background Fetch] Reject when requests have body.

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(firefox64 fixed)

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mugdha Lakhani <nator@chromium.org> wrote:
>  [Background Fetch] Reject when requests have body.
>  
>  With this CL,
>  1. Record the BackgroundFetch.HasRequestsWithBody UMA metric, which is
>  true if any requests in the background fetch contain a body, false otherwise.
>  2. Reject the fetch() promise, if any requests do contain a body.
>  
>  Bug: 881344
>  Change-Id: I595800adefe1dcc2c8bb04bec2295cc2886d963d
>  Reviewed-on: https://chromium-review.googlesource.com/1210125
>  WPT-Export-Revision: b1f0dfc32b7df90d3c23d5a477fbb26609a0e500
PR 12873 applied with additional changes from upstream: 98c37ef258eb21fb1c3dbf508437e58be21c2145
Ran 1 tests and 7 subtests
OK     : 1
FAIL   : 7

New tests that have failures or other problems:
/background-fetch/fetch.https.window.html
    Argument verification is done for BackgroundFetchManager.fetch(): FAIL
    Background Fetch requires an activated Service Worker: FAIL
    Background Fetch that exceeds the quota throws a QuotaExceededError: FAIL
    Fetches can have requests with a body: FAIL
    Fetches can have requests with duplicate URLs: FAIL
    IDs must be unique among active Background Fetch registrations: FAIL
    Using Background Fetch to successfully fetch a single resource: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1e41acd18239
[wpt PR 12873] - [Background Fetch] Reject when requests have body., a=testonly
https://hg.mozilla.org/mozilla-central/rev/1e41acd18239
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/mozilla-inbound/rev/cac62569adb8
[wpt PR 12873] - [Background Fetch] Reject when requests have body., a=testonly
https://hg.mozilla.org/mozilla-central/rev/cac62569adb8
Status: REOPENED → RESOLVED
Closed: Last yearLast year
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Flags: needinfo?(james)
You need to log in before you can comment on or make changes to this bug.