Closed Bug 1653894 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 24662 - Add tests for request headers created by fetch modes

Categories

(Core :: DOM: Networking, task, P4)

task

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Mark Nottingham <mnot@mnot.net> wrote:

Add tests for request headers created by fetch modes

For https://github.com/whatwg/fetch/issues/722

Component: web-platform-tests → DOM: Networking
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 5 subtests

Status Summary

Firefox

OK : 1
PASS: 2
FAIL: 3

Chrome

OK : 1
PASS: 4
FAIL: 1

Safari

OK : 1
PASS: 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/fetch/http-cache/cache-mode.html
Fetch doesn't touch Pragma when cache mode is no-store and Pragma is already present: FAIL
Fetch doesn't touch Cache-Control when cache mode is no-store and Cache-Control is already present: FAIL
Fetch sends Cache-Control: max-age=0 when cache mode is no-cache: FAIL

New Tests That Don't Pass

/fetch/http-cache/cache-mode.html
Fetch doesn't touch Pragma when cache mode is no-store and Pragma is already present: FAIL (Chrome: PASS, Safari: PASS)
Fetch doesn't touch Cache-Control when cache mode is no-store and Cache-Control is already present: FAIL (Chrome: PASS, Safari: PASS)
Fetch sends Cache-Control: max-age=0 when cache mode is no-cache: FAIL (Chrome: PASS, Safari: PASS)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/585800496b47
[wpt PR 24662] - Add tests for request headers created by fetch modes, a=testonly
https://hg.mozilla.org/integration/autoland/rev/d0e79fc0950f
[wpt PR 24662] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.