Closed Bug 2092848 Opened 17 days ago Closed 12 days ago

[wpt-sync] Sync PR 64633 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=295193

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yoav Weiss <yoav.weiss@shopify.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=295193

WebKit export from bug: Implement same-<!---->origin prefetch speculation rules

<pre>
Implement speculation rules - same origin conservative prefetch

This implements an initial version of same-origin prefetch speculation rules.

The feature enables prefetching an HTML document ahead of time ("immediate" eagerness),
or when the user started clicking an anchor element pointing at it ("conservative" eagerness).
That prefetched document is then used when the user actually navigates to this URL,
resulting in significant performance improvements.
Subresources of the prefetched document are not yet loaded before navigation, nor does it begin its processing.

HTML spec PR for speculation rules: <a href="https://github.com/whatwg/html/pull/11426">https://github.com/whatwg/html/pull/11426</a>
Spec for the prefetch parts: <a href="https://wicg.github.io/nav-speculation/prefetch.html">https://wicg.github.io/nav-speculation/prefetch.html</a>

Also give speculation-rules/prefetch/clear-prefetch-cache-after-clear-site-data-cache.https.html a long timeout. It runs close to the default one, so CI flags it as slow whenever clear-site-data-cache.py changes.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=295193">https://bugs.webkit.org/show_bug.cgi?id=295193</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/300829@main">https://commits.webkit.org/300829@main</a>
</pre>

Component: web-platform-tests → DOM: Security
Product: Testing → Core

CI Results

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

Total 2 tests and 2 subtests

Status Summary

Firefox

OK : 1
PASS : 1
FAIL : 2
ERROR: 1

Chrome

OK : 2
PASS : 5

Safari

OK : 1
PASS : 2
FAIL : 1
ERROR: 1

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 12 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.