Closed Bug 1763085 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33508 - Test preload integrity matchiing with/without options

Categories

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

task

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Noam Rosenthal <noam.j.rosenthal@gmail.com> wrote:

Test preload integrity matchiing with/without options

Test matching SRI with options consumed by same SRI without options

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 75 subtests

Status Summary

Firefox

OK : 1
PASS: 52
FAIL: 23

Chrome

OK : 1
PASS: 69
FAIL: 6

Safari

OK : 1
PASS: 40
FAIL: 35

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/preload/subresource-integrity.html
Same-origin script with incorrect hash.: FAIL (Chrome: PASS, Safari: FAIL)
Same-origin script with sha256 match, sha512 mismatch: FAIL (Chrome: PASS, Safari: FAIL)
<crossorigin='anonymous'> script with incorrect hash, ACAO: *: FAIL (Chrome: PASS, Safari: FAIL)
<crossorigin='use-credentials'> script with incorrect hash CORS-eligible: FAIL (Chrome: PASS, Safari: FAIL)
<crossorigin='anonymous'> script with CORS-ineligible resource: FAIL (Chrome: PASS, Safari: FAIL)
Cross-origin script, not CORS request, with correct hash: FAIL (Chrome: PASS, Safari: FAIL)
Cross-origin script, not CORS request, with hash mismatch: FAIL (Chrome: PASS, Safari: FAIL)
[Tentative] Same-origin script with matching digest does not reuse preload with matching but stronger digest.: FAIL (Chrome: PASS, Safari: FAIL)
Same-origin style with incorrect hash.: FAIL (Chrome: PASS, Safari: FAIL)
Same-origin style with sha256 match, sha512 mismatch: FAIL (Chrome: PASS, Safari: FAIL)
<crossorigin='anonymous'> style with incorrect hash, ACAO: *: FAIL (Chrome: PASS, Safari: FAIL)
<crossorigin='use-credentials'> style with incorrect hash CORS-eligible: FAIL (Chrome: PASS, Safari: FAIL)
<crossorigin='anonymous'> style with CORS-ineligible resource: FAIL (Chrome: PASS, Safari: FAIL)
Cross-origin style, not CORS request, with correct hash: FAIL (Chrome: PASS, Safari: FAIL)
Cross-origin style, not CORS request, with hash mismatch: FAIL (Chrome: PASS, Safari: FAIL)
[Tentative] Same-origin style with matching digest does not reuse preload with matching but stronger digest.: FAIL (Chrome: PASS, Safari: FAIL)
Same-origin image with incorrect hash.: FAIL (Chrome: FAIL, Safari: FAIL)
Same-origin image with sha256 match, sha512 mismatch: FAIL (Chrome: FAIL, Safari: FAIL)
<crossorigin='anonymous'> image with incorrect hash, ACAO: *: FAIL (Chrome: FAIL, Safari: FAIL)
<crossorigin='use-credentials'> image with incorrect hash CORS-eligible: FAIL (Chrome: FAIL, Safari: FAIL)
<crossorigin='anonymous'> image with CORS-ineligible resource: FAIL (Chrome: PASS, Safari: FAIL)
Cross-origin image, not CORS request, with correct hash: FAIL (Chrome: FAIL, Safari: FAIL)
Cross-origin image, not CORS request, with hash mismatch: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d90bc6bfc6e3
[wpt PR 33508] - Test preload integrity matchiing with/without options, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.