Closed Bug 1753998 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 32728 - Support SRI on link preload font destination

Categories

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

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream error])

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

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

Takahiro <hogehoge@gachapin.jp> wrote:

Support SRI on link preload font destination

Changes

  1. Set integrity metadata for font destination
  2. Check SRI failure in RemoteFontFaceSource::NotifyFinished()
  3. Add WPT for preload+SRI+font

Bug: 981419
Change-Id: Id98c6152dfb67614c731516952bc3c5150e82462

Reviewed-on: https://chromium-review.googlesource.com/3428582
WPT-Export-Revision: 13f3e8a86814b26401b88405e3c18f2ae624171c

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

CI Results

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

Total 1 tests and 23 subtests

Status Summary

Firefox

OK : 1
PASS: 15
FAIL: 8

Chrome

OK : 1
PASS: 16
FAIL: 7

Safari

OK : 1
PASS: 12
FAIL: 11

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /preload/subresource-integrity-font.html [wpt.fyi]
    • <crossorigin="anonymous"> Same-origin with incorrect hash.: FAIL (Chrome: FAIL, Safari: FAIL)
    • <crossorigin="anonymous"> Same-origin with sha256 match, sha512 mismatch.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Same-origin, not CORS request, with incorrect sha256 hash.: FAIL (Chrome: FAIL, Safari: FAIL)
    • <crossorigin="anonymous"> Cross-origin with incorrect sha256 hash, ACAO: *.: FAIL (Chrome: FAIL, Safari: FAIL)
    • <crossorigin="anonymous"> Cross-origin with correct sha256 hash, with CORS-ineligible resource.: FAIL (Chrome: PASS, Safari: FAIL)
    • Cross-origin, not CORS request, with correct sha256.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Cross-origin, not CORS request, with incorrect sha256.: FAIL (Chrome: FAIL, Safari: FAIL)
    • <crossorigin="use-credentials"> Cross-origin with incorrect sha256 hash, CORS-eligible.: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/deeb1b1dce85
[wpt PR 32728] - Support SRI on link preload font destination, a=testonly
https://hg.mozilla.org/integration/autoland/rev/dad527ecb64b
[wpt PR 32728] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.