Bug 1873287 [wpt PR 43869] - Do not intercept for prefetch in subframes., a=testonly
commit44c5f64fcd983bf0d40d7d0cc2166b28c399cc4b
authorJeremy Roman <jbroman@chromium.org>
Thu, 11 Jan 2024 21:43:39 +0000 (11 21:43 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 12 Jan 2024 09:32:39 +0000 (12 09:32 +0000)
treeb963796bc9e10be9ed6dd8a6dbefe7622e9675c8
parent03904696f24f588cd28652071ddecd6f2be689af
Bug 1873287 [wpt PR 43869] - Do not intercept for prefetch in subframes., a=testonly

Automatic update from web-platform-tests
Do not intercept for prefetch in subframes.

Other parts of the prefetch code assume this is for top-level
navigation. If we do want to support this, we'd have to do
adjust it to properly handle cookie and cache partitioning
in a more sophisticated way.

The corresponding test that uses iframes is updated; there is
already parallel coverage using window.open.

Bug: 1511780
Change-Id: I249432e6a5de4b6ffbf1d7c6c260a78850151d3b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5173989
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org>
Commit-Queue: Kouhei Ueno <kouhei@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1245137}

--

wpt-commits: ed581aee5c764bea75a51dd6d1f113a1580962ba
wpt-pr: 43869
testing/web-platform/tests/speculation-rules/prefetch/initiators-iframe-location-href.sub.https.html