Closed Bug 1733615 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 31058 - Add tests for safelisting simple range headers from preflight

Categories

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

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

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

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

Rayan Kanso <rayankans@google.com> wrote:

Add tests for safelisting simple range headers from preflight

Fetch PR: https://github.com/whatwg/fetch/pull/1312/

Component: web-platform-tests → DOM: Security
Product: Testing → Core

CI Results

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

Total 2 tests and 30 subtests

Status Summary

Firefox

OK : 2
PASS: 56
FAIL: 4

Chrome

OK : 2
PASS: 56
FAIL: 4

Safari

OK : 2
PASS: 56
FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/cors/cors-safelisted-request-header.any.html
No preflight for {"range":"bytes=100-200"}: FAIL (Chrome: FAIL, Safari: FAIL)
No preflight for {"range":"bytes=200-"}: FAIL (Chrome: FAIL, Safari: FAIL)
/cors/cors-safelisted-request-header.any.worker.html
No preflight for {"range":"bytes=100-200"}: FAIL (Chrome: FAIL, Safari: FAIL)
No preflight for {"range":"bytes=200-"}: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d2601ebc4836
[wpt PR 31058] - Add tests for safelisting simple range headers from preflight, a=testonly
https://hg.mozilla.org/integration/autoland/rev/d98ce5f9c698
[wpt PR 31058] - Update wpt metadata, a=testonly
Regressions: 1734351
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.