[wpt-sync] Sync PR 64633 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=295193
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
| 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 prefetchThis 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>
| Assignee | ||
Updated•17 days ago
|
| Assignee | ||
Comment 1•17 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=119824
| Assignee | ||
Comment 2•16 days ago
|
||
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
Details
Firefox-only Failures
- /speculation-rules/prefetch/clear-prefetch-cache-after-clear-site-data-cache.https.html [wpt.fyi]
- clear-site-data prefetchCache in same window should clear its prefetch cache:
FAIL
- clear-site-data prefetchCache in same window should clear its prefetch cache:
New Tests That Don't Pass
- /speculation-rules/prefetch/clear-prefetch-cache-after-clear-site-data-cache.https.html [wpt.fyi]
- clear-site-data prefetchCache headers should prevent it from being fetched:
FAIL(Chrome:PASS, Safari:FAIL) - clear-site-data prefetchCache in same window should clear its prefetch cache:
FAIL(Chrome:PASS, Safari:PASS)
- clear-site-data prefetchCache headers should prevent it from being fetched:
- /speculation-rules/prerender/cancel-prerendering-after-clear-site-data-cache-same-origin.https.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)
Comment 4•12 days ago
|
||
| bugherder | ||
Description
•