Closed Bug 1449107 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 10192 - Add tests for Request.isReloadNavigation

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: wptsync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Yutaka Hirano <yhirano@chromium.org> wrote:
>  Add tests for Request.isReloadNavigation
>  
>  This is for https://github.com/w3c/ServiceWorker/issues/1167.
Component: web-platform-tests → DOM
Product: Testing → Core
P4 is unused to setting priority to P3.
Priority: P4 → P3
Component: DOM → DOM: Service Workers
Component: DOM: Service Workers → DOM
Component: DOM → DOM: Service Workers
Ran 3 tests and 95 subtests
OK     : 3
PASS   : 82
FAIL   : 13

New tests that have failures or other problems:
/fetch/api/request/request-idl.html
    Request interface: attribute isReloadNavigation: FAIL
    Request interface: new Request("") must inherit property "isReloadNavigation" with the proper type: FAIL
/service-workers/service-worker/fetch-event.https.html
    FetchEvent#request.isReloadNavigation is true (POST + location.reload()): FAIL
    FetchEvent#request.isReloadNavigation is true (history.go(0)): FAIL
    FetchEvent#request.isReloadNavigation is true (location.reload()): FAIL
    FetchEvent#request.isReloadNavigation is true (with history traversal): FAIL
Try push failed: decision task returned error
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/96c5380b8719
[wpt PR 10192] - Add tests for Request.isReloadNavigation, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/94dba0fcc9d5
[wpt PR 10192] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/96c5380b8719
https://hg.mozilla.org/mozilla-central/rev/94dba0fcc9d5
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.