Closed Bug 1527560 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 15348 - Implement `Sec-Fetch-Mode`

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mike West <mkwst@chromium.org> wrote:

Implement Sec-Fetch-Mode

This patch implements Sec-Fetch-Mode, which adds the current CORS
mode to outgoing, secure requests, as defined in
https://mikewest.github.io/sec-metadata/#sec-fetch-mode-header.

Bug: 843478
Change-Id: I811bfa86bdac1600b8abdd275d9526f6408e62e2

Reviewed-on: https://chromium-review.googlesource.com/1466362
WPT-Export-Revision: f7a31dc8e065e896d2280c57f3b0d7c3112db283

PR 15348 applied with additional changes from upstream: 2b8288eaff2633842ef30a5da94320569203c3f4
Component: web-platform-tests → DOM
Product: Testing → Core
PR 15348 applied with additional changes from upstream: 2b8288eaff2633842ef30a5da94320569203c3f4
Ran 22 tests and 66 subtests
OK     : 19
PASS   : 7
FAIL   : 48
TIMEOUT: 8
NOTRUN : 6

New tests that have failures or other problems:
/fetch/sec-metadata/fetch.tentative.https.sub.html
    CORS mode: FAIL
    Same-origin mode: FAIL
    no-CORS mode: FAIL
/fetch/sec-metadata/script.tentative.https.sub.html
    Same-origin CORS script: FAIL
/fetch/sec-metadata/style.tentative.https.sub.html
    Same-Origin, cors style: NOTRUN
/fetch/sec-metadata/track.tentative.https.sub.html
    Same-Origin, CORS track: NOTRUN
Component: DOM → DOM: Core & HTML
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/01df42e8dca9
[wpt PR 15348] - Implement `Sec-Fetch-Mode`, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/c3299b5db5d8
[wpt PR 15348] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f61a049759af
[wpt PR 15348] - Implement `Sec-Fetch-Mode`, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/ba63a52c1015
[wpt PR 15348] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.