Closed Bug 1830531 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 39728 - Fix flakiness in `preload/preload-error.sub.html` on Safari

Categories

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

task

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Vitaly Dyachkov <vitaly@igalia.com> wrote:

Fix flakiness in preload/preload-error.sub.html on Safari

Safari sends a network request as soon as an element gets an URL. This request will not match the preload request because of the missing crossorigin attribute and thus cause double loading.

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Try push failed: decision task Px56lixARGSmlZBss_pQjw returned error

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: 57
FAIL: 11

Chrome

OK : 1
PASS: 62
FAIL: 6

Safari

OK : 1
PASS: 48
FAIL: 20

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

  • /preload/preload-error.sub.html [wpt.fyi]
    • CORS-error (image): preload events: FAIL (Chrome: PASS, Safari: PASS)
    • 404 (style): preload events: FAIL (Chrome: FAIL, Safari: FAIL)
    • CORS-error (style): preload events: FAIL (Chrome: PASS, Safari: PASS)
    • 404 (script): preload events: FAIL (Chrome: FAIL, Safari: FAIL)
    • CORS-error (script): preload events: FAIL (Chrome: PASS, Safari: PASS)
    • 404 (xhr): preload events: FAIL (Chrome: PASS, Safari: PASS)
    • CORS-error (xhr): preload events: FAIL (Chrome: PASS, Safari: PASS)
    • 404 (fetch): preload events: FAIL (Chrome: PASS, Safari: PASS)
    • CORS-error (fetch): preload events: FAIL (Chrome: PASS, Safari: PASS)
    • 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/74794ccf9648 [wpt PR 39728] - Fix flakiness in `preload/preload-error.sub.html` on Safari, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in before you can comment on or make changes to this bug.