Closed Bug 1465023 Opened Last year Closed Last year

[wpt-sync] Sync PR 11220 - [Fetch] Fix tests for isHistoryNavigation

Categories

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

enhancement

Tracking

(firefox62 fixed)

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yutaka Hirano <yhirano@chromium.org> wrote:
>  [Fetch] Fix tests for isHistoryNavigation
>  
>  This is a followup for https://github.com/web-platform-tests/wpt/commit/8f805ef0b6a3ddb06c0266cc56557d05e36f3a3d.
>  
>  fetch/api/request/request-reset-attributes.https.html:
>  I was confused by the test case and another test case in service-workers/cache-storage/serviceworker/cache-keys-attributes-for-service-worker.https.html. This change fixes the test case.
>  
>  service-workers/service-worker/fetch-event.https.html
>  This change fixes a test description.
>
PR 11220 applied with additional changes from upstream: 864c62d355308cca9ab6d9c939e987cede865d5b, 8f805ef0b6a3ddb06c0266cc56557d05e36f3a3d
Ran 2 tests and 36 subtests
OK     : 2
PASS   : 21
FAIL   : 15

New tests that have failures or other problems:
/fetch/api/request/request-reset-attributes.https.html
    Request.isHistoryNavigation is reset with non-empty RequestInit: FAIL
/service-workers/service-worker/fetch-event.https.html
    FetchEvent#request.isHistoryNavigation is false (with history.go(0)): FAIL
    FetchEvent#request.isHistoryNavigation is false (with location.reload): FAIL
    FetchEvent#request.isHistoryNavigation is true (POST + history.go(-1)): FAIL
    FetchEvent#request.isHistoryNavigation is true (with history.go(-1)): FAIL
    FetchEvent#request.isHistoryNavigation is true (with history.go(-2)): FAIL
    FetchEvent#request.isHistoryNavigation is true (with history.go(1)): FAIL
    FetchEvent#request.isHistoryNavigation is true (with history.go(2)): FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/40b0534b922c
[wpt PR 11220] - [Fetch] Fix tests for isHistoryNavigation, a=testonly
https://hg.mozilla.org/mozilla-central/rev/40b0534b922c
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.