Closed Bug 1484177 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 12546 - [Background Fetch] Take remaining quota into account in Data Manager.

Categories

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

enhancement

Tracking

(firefox63 fixed)

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rayan Kanso <rayankans@chromium.org> wrote:
>  [Background Fetch] Take remaining quota into account in Data Manager.
>  
>  - Before registering the fetch make sure there is enough quota to
>    complete the fetch.
>  - Abandon the fetch if there is no quota to persist the response.
>  
>  TBR=avi@chromium.org
>  
>  Bug: 872735
>  Change-Id: I2a8348209989f85722e20bd8a5bccc75015fbf51
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1169202
>  WPT-Export-Revision: 95acb81cf0c4da843dbddd584e61fecf8027ac7b
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 1 tests and 5 subtests
OK     : 1
FAIL   : 5

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
    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/5bdf88c11eae
[wpt PR 12546] - [Background Fetch] Take remaining quota into account in Data Manager., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/831848256863
[wpt PR 12546] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/5bdf88c11eae
https://hg.mozilla.org/mozilla-central/rev/831848256863
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.