Closed Bug 1810933 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 35707 - Add multiple tests for prefetch behavior

Categories

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

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Noam Rosenthal <noamr@users.noreply.github.com> wrote:

Add multiple tests for prefetch behavior

See https://github.com/whatwg/html/pull/8111#issuecomment-1229907894

Tests that:

  • preload/prefetch-cache.html
    No 5 minute rule (cache headers must be respected)

  • preload/prefetch-document.html
    No special treatment of as=document
    Whether Accept is left as its default value.
    Storage partitioning is applied, including for documents

  • preload/prefetch-load-event.html
    Does not block the load event

  • preload/prefetch-headers.html
    Sec-Purpose and Sec-Destination are correct

  • preload/prefetch-types.html
    Always uses prefetch destination, and ignores as=""

  • preload/prefetch-events.html
    Load & error events are fired, and invalid/empty hrefs are ignored.

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

CI Results

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

Total 7 tests and 25 subtests

Status Summary

Firefox

OK : 7
PASS : 12[GitHub] 13[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt]
FAIL : 35[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] 36[GitHub]

Chrome

OK : 7
PASS : 13
FAIL : 35

Safari

OK : 2
PASS : 3
FAIL : 7
TIMEOUT: 10
NOTRUN : 33

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bd34864725f5 [wpt PR 35707] - Add multiple tests for prefetch behavior, a=testonly https://hg.mozilla.org/integration/autoland/rev/60d8ca6c4793 [wpt PR 35707] - Update wpt metadata, a=testonly
Regressions: 1811543
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.