Closed Bug 1766686 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33819 - [WPT] Fix typo in /preload/preload-error.sub.html

Categories

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

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Hiroshige Hayashizaki <hiroshige@chromium.org> wrote:

[WPT] Fix typo in /preload/preload-error.sub.html

This exposes that scripts with nosniff MIME errors
also fires load events on \<link rel=preload> on Chromium.

Bug: 1318614
Change-Id: Ifa4fdb05c484c8e0644ab62d7b82cd6bb85f67cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3609614
Reviewed-by: Domenic Denicola \<domenic@chromium.org>
Commit-Queue: Hiroshige Hayashizaki \<hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/main@{#996762}

PR 33819 applied with additional changes from upstream: 55da5e1ca21ef62bd78d29034edbb112a5403384
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 68 subtests

Status Summary

Firefox

OK : 1
PASS: 52
FAIL: 16

Chrome

OK : 1
PASS: 58
FAIL: 10

Safari

OK : 1
PASS: 46
FAIL: 22

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /preload/preload-error.sub.html [wpt.fyi]
    • CORS-error (image): preload events: FAIL
    • CORS-error (style): preload events: FAIL
    • CORS-error (script): preload events: FAIL
    • CORS-error (xhr): preload events: FAIL
    • CORS-error (fetch): preload events: FAIL
    • MIME-error (style): preload events: FAIL

New Tests That Don't Pass

  • /preload/preload-error.sub.html [wpt.fyi]
    • CORS-error (image): preload events: FAIL (Chrome: PASS, Safari: PASS)
    • CSP-error (image): main: FAIL (Chrome: PASS, Safari: FAIL)
    • 404 (style): preload events: FAIL (Chrome: FAIL, Safari: FAIL)
    • CORS-error (style): preload events: FAIL (Chrome: PASS, Safari: PASS)
    • CSP-error (style): main: FAIL (Chrome: PASS, Safari: FAIL)
    • 404 (script): preload events: FAIL (Chrome: FAIL, Safari: FAIL)
    • CORS-error (script): preload events: FAIL (Chrome: PASS, Safari: PASS)
    • CSP-error (script): main: FAIL (Chrome: PASS, Safari: FAIL)
    • 404 (xhr): preload events: FAIL (Chrome: FAIL, Safari: PASS)
    • CORS-error (xhr): preload events: FAIL (Chrome: PASS, Safari: PASS)
    • CSP-error (xhr): main: FAIL (Chrome: PASS, Safari: FAIL)
    • 404 (fetch): preload events: FAIL (Chrome: FAIL, Safari: PASS)
    • CORS-error (fetch): preload events: FAIL (Chrome: PASS, Safari: PASS)
    • CSP-error (fetch): main: FAIL (Chrome: PASS, Safari: FAIL)
    • Decode-error (image): preload events: FAIL (Chrome: FAIL, Safari: FAIL)
    • MIME-error (style): preload events: FAIL (Chrome: PASS, Safari: PASS)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cbe111eb6af7
[wpt PR 33819] - [WPT] Fix typo in /preload/preload-error.sub.html, a=testonly
https://hg.mozilla.org/integration/autoland/rev/0d445f0497d9
[wpt PR 33819] - 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.