Files
sousa-gecko/testing/web-platform/meta/preload/prefetch-document.html.ini
T
acreskeyMoz 6680cfc5b2 Bug 2045809 - Doom ORB-blocked responses so they aren't reused from the HTTP cache; r=sunil,necko-reviewers,farre
ORB validates opaque responses asynchronously, after they're committed to
the cache, so a blocked response was left cached and could be reused by a
later same-partition request (e.g. a navigation reusing a prefetch). Doom
the committed entry when ORB blocks.

Fixes the "same-site different-origin document prefetch without 'as' should
not be consumed" subtest in preload/prefetch-document.html.

Differential Revision: https://phabricator.services.mozilla.com/D305637
2026-06-25 20:43:03 +00:00

16 lines
645 B
INI

[prefetch-document.html]
# ORB is disabled on Android, so the prefetch isn't blocked/doomed (bug 2045809).
[same-site different-origin document prefetch without 'as' should not be consumed]
expected:
if os == "android": FAIL
[same origin document prefetch without 'as' should be consumed]
expected:
if (os == "linux") and not debug and not asan and not tsan: [PASS, FAIL]
if (os == "linux") and debug: [PASS, FAIL]
if (os == "android") and not debug: [PASS, FAIL]
[Document prefetch should send the exact Accept header as navigation]
expected:
if (os == "android") and not debug: [PASS, FAIL]