summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/fetch/metadata
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/meta/fetch/metadata
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/fetch/metadata')
-rw-r--r--testing/web-platform/meta/fetch/metadata/__dir__.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/audio-worklet.https.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/embed.https.sub.tentative.html.ini44
-rw-r--r--testing/web-platform/meta/fetch/metadata/fetch-preflight.https.sub.any.js.ini15
-rw-r--r--testing/web-platform/meta/fetch/metadata/fetch.https.sub.any.js.ini15
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/appcache-manifest.https.sub.html.ini61
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/audioworklet.https.sub.html.ini104
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/css-font-face.https.sub.tentative.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/css-font-face.sub.tentative.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/css-images.https.sub.tentative.html.ini74
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/css-images.sub.tentative.html.ini7
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-a.https.sub.html.ini9
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-a.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-area.https.sub.html.ini11
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-area.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-audio.https.sub.html.ini11
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-audio.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-embed.https.sub.html.ini5
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-embed.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-frame.https.sub.html.ini5
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-frame.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-iframe.https.sub.html.ini5
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-iframe.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-img-environment-change.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-img-environment-change.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-img.https.sub.html.ini11
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-img.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-input-image.https.sub.html.ini6
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-input-image.sub.html.ini6
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-link-icon.https.sub.html.ini83
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-link-icon.sub.html.ini62
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-link-prefetch.https.optional.sub.html.ini36
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-link-prefetch.optional.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-meta-refresh.optional.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-picture.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-picture.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-script.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-script.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-video-poster.https.sub.html.ini20
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-video-poster.sub.html.ini8
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-video.https.sub.html.ini11
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/element-video.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/fetch-via-serviceworker.https.sub.html.ini65
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/fetch.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/fetch.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/form-submission.https.sub.html.ini43
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/form-submission.sub.html.ini22
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/header-link.https.sub.html.ini53
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/header-link.https.sub.tentative.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/header-link.sub.html.ini47
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/header-refresh.https.optional.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/header-refresh.optional.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/script-module-import-dynamic.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/script-module-import-dynamic.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/script-module-import-static.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/script-module-import-static.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/serviceworker.https.sub.html.ini29
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/svg-image.https.sub.html.ini21
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/svg-image.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/window-history.https.sub.html.ini19
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/window-history.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/window-location.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/window-location.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/worker-dedicated-constructor.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/worker-dedicated-constructor.sub.html.ini26
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/worker-dedicated-importscripts.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/generated/worker-dedicated-importscripts.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/navigation.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/object.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/paint-worklet.https.html.ini5
-rw-r--r--testing/web-platform/meta/fetch/metadata/portal.https.sub.html.ini11
-rw-r--r--testing/web-platform/meta/fetch/metadata/preload.https.sub.html.ini108
-rw-r--r--testing/web-platform/meta/fetch/metadata/redirect/__dir__.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/redirect/multiple-redirect-https-downgrade-upgrade.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/redirect/redirect-http-upgrade.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/redirect/redirect-https-downgrade.sub.html.ini4
-rw-r--r--testing/web-platform/meta/fetch/metadata/report.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/serviceworker-accessors.https.sub.html.ini4
-rw-r--r--testing/web-platform/meta/fetch/metadata/sharedworker.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/style.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/track.https.sub.html.ini5
-rw-r--r--testing/web-platform/meta/fetch/metadata/trailing-dot.https.sub.any.js.ini50
-rw-r--r--testing/web-platform/meta/fetch/metadata/unload.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/window-open.https.sub.html.ini14
-rw-r--r--testing/web-platform/meta/fetch/metadata/worker.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/fetch/metadata/xslt.https.sub.html.ini5
86 files changed, 1278 insertions, 0 deletions
diff --git a/testing/web-platform/meta/fetch/metadata/__dir__.ini b/testing/web-platform/meta/fetch/metadata/__dir__.ini
new file mode 100644
index 0000000000..889ab85871
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/__dir__.ini
@@ -0,0 +1,3 @@
+prefs: [dom.security.secFetch.enabled:true]
+lsan-allowed: [Alloc, Create, MakeUnique, Malloc, PLDHashTable::ChangeTable, PLDHashTable::MakeEntryHandle, Realloc, allocate, createTable, mozilla::BasePrincipal::CreateContentPrincipal, mozilla::Permission::Create, mozilla::ThrottledEventQueue::Create, mozilla::WeakPtr, mozilla::dom::BrowsingContext::Attach, mozilla::dom::BrowsingContext::CreateChildSHistory, mozilla::dom::BrowsingContext::CreateDetached, mozilla::dom::CanonicalBrowsingContext::GetSecureBrowserUI, mozilla::dom::ContentParent::CreateBrowser, mozilla::dom::Performance::CreateForMainThread, mozilla::dom::PerformanceMainThread::CreateNavigationTimingEntry, mozilla::dom::ReferrerInfo::Clone, mozilla::dom::ServiceWorker::Create, mozilla::extensions::ChannelWrapper::ChannelWrapper, mozilla::net::HttpBaseChannel::CloneLoadInfoForRedirect, mozilla::net::HttpBaseChannel::HttpBaseChannel, mozilla::net::nsStandardURL::TemplatedMutator, nsDynamicAtom::Create, nsHashPropertyBagBase::SetPropertyAsInterface, operator]
+leak-threshold: [default:51200, tab:358400]
diff --git a/testing/web-platform/meta/fetch/metadata/audio-worklet.https.html.ini b/testing/web-platform/meta/fetch/metadata/audio-worklet.https.html.ini
new file mode 100644
index 0000000000..7d03f75fbb
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/audio-worklet.https.html.ini
@@ -0,0 +1,3 @@
+[audio-worklet.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/embed.https.sub.tentative.html.ini b/testing/web-platform/meta/fetch/metadata/embed.https.sub.tentative.html.ini
new file mode 100644
index 0000000000..1f9801e592
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/embed.https.sub.tentative.html.ini
@@ -0,0 +1,44 @@
+[embed.https.sub.tentative.html]
+ expected:
+ if os == "linux": TIMEOUT
+ if os == "mac": TIMEOUT
+ if win10_2004: TIMEOUT
+ [Navigate to same-site embed: sec-fetch-dest]
+ expected: FAIL
+
+ [Wrapper: Navigate to cross-site embed]
+ expected:
+ if os == "mac": NOTRUN
+ if os == "linux": NOTRUN
+ if win10_2004: NOTRUN
+
+ [Wrapper: cross-site embed]
+ expected:
+ if os == "mac": NOTRUN
+ if os == "linux": NOTRUN
+ if win10_2004: NOTRUN
+
+ [Wrapper: Navigate to same-site embed]
+ expected:
+ if os == "mac": NOTRUN
+ if os == "linux": NOTRUN
+ if win10_2004: NOTRUN
+
+ [Navigate to cross-site embed: sec-fetch-dest]
+ expected: FAIL
+
+ [Navigate to same-origin embed: sec-fetch-dest]
+ expected: FAIL
+
+ [Wrapper: same-site embed]
+ expected:
+ if os == "mac": NOTRUN
+ if os == "linux": NOTRUN
+ if win10_2004: NOTRUN
+
+ [Wrapper: Navigate to same-origin embed]
+ expected:
+ if os == "mac": TIMEOUT
+ if os == "linux": TIMEOUT
+ if win10_2004: TIMEOUT
+
diff --git a/testing/web-platform/meta/fetch/metadata/fetch-preflight.https.sub.any.js.ini b/testing/web-platform/meta/fetch/metadata/fetch-preflight.https.sub.any.js.ini
new file mode 100644
index 0000000000..615c26011b
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/fetch-preflight.https.sub.any.js.ini
@@ -0,0 +1,15 @@
+[fetch-preflight.https.sub.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[fetch-preflight.https.sub.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[fetch-preflight.https.sub.any.serviceworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[fetch-preflight.https.sub.any.sharedworker.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
diff --git a/testing/web-platform/meta/fetch/metadata/fetch.https.sub.any.js.ini b/testing/web-platform/meta/fetch/metadata/fetch.https.sub.any.js.ini
new file mode 100644
index 0000000000..08fd4fd1ea
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/fetch.https.sub.any.js.ini
@@ -0,0 +1,15 @@
+[fetch.https.sub.any.serviceworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[fetch.https.sub.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[fetch.https.sub.any.sharedworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[fetch.https.sub.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/appcache-manifest.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/appcache-manifest.https.sub.html.ini
new file mode 100644
index 0000000000..9f9bf9bb4e
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/appcache-manifest.https.sub.html.ini
@@ -0,0 +1,61 @@
+[appcache-manifest.https.sub.html]
+ expected: TIMEOUT
+ [sec-fetch-site - Same origin]
+ expected: TIMEOUT
+
+ [sec-fetch-site - Cross-site]
+ expected: TIMEOUT
+
+ [sec-fetch-site - Same site]
+ expected: TIMEOUT
+
+ [sec-fetch-site - HTTPS downgrade (header not sent)]
+ expected: TIMEOUT
+
+ [sec-fetch-site - HTTPS upgrade]
+ expected: TIMEOUT
+
+ [sec-fetch-site - HTTPS downgrade-upgrade]
+ expected: TIMEOUT
+
+ [sec-fetch-site - Same-Origin -> Cross-Site -> Same-Origin redirect]
+ expected: TIMEOUT
+
+ [sec-fetch-site - Same-Origin -> Same-Site -> Same-Origin redirect]
+ expected: TIMEOUT
+
+ [sec-fetch-site - Cross-Site -> Same Origin]
+ expected: TIMEOUT
+
+ [sec-fetch-site - Cross-Site -> Same-Site]
+ expected: TIMEOUT
+
+ [sec-fetch-site - Cross-Site -> Cross-Site]
+ expected: TIMEOUT
+
+ [sec-fetch-site - Same-Origin -> Same Origin]
+ expected: TIMEOUT
+
+ [sec-fetch-site - Same-Origin -> Same-Site]
+ expected: TIMEOUT
+
+ [sec-fetch-site - Same-Origin -> Cross-Site]
+ expected: TIMEOUT
+
+ [sec-fetch-site - Same-Site -> Same Origin]
+ expected: TIMEOUT
+
+ [sec-fetch-site - Same-Site -> Same-Site]
+ expected: TIMEOUT
+
+ [sec-fetch-site - Same-Site -> Cross-Site]
+ expected: TIMEOUT
+
+ [sec-fetch-mode]
+ expected: TIMEOUT
+
+ [sec-fetch-dest]
+ expected: TIMEOUT
+
+ [sec-fetch-user]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/fetch/metadata/generated/audioworklet.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/audioworklet.https.sub.html.ini
new file mode 100644
index 0000000000..04f3e89d5a
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/audioworklet.https.sub.html.ini
@@ -0,0 +1,104 @@
+[audioworklet.https.sub.html]
+ expected:
+ if (os == "linux") and not fission and not swgl and not debug: [TIMEOUT, ERROR]
+ if (os == "linux") and not fission and not swgl and debug: [TIMEOUT, OK, ERROR]
+ if (os == "linux") and fission and (processor == "x86"): [ERROR, TIMEOUT]
+ if (os == "linux") and fission and (processor == "x86_64"): [TIMEOUT, ERROR]
+ if (os == "linux") and not fission and swgl: [OK, ERROR, TIMEOUT]
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [sec-fetch-site - Same-Origin -> Same-Site -> Same-Origin redirect]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [PASS, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [PASS, TIMEOUT]
+ if (os == "linux") and not debug and (processor == "x86"): [PASS, TIMEOUT]
+ if (os == "linux") and debug: [PASS, TIMEOUT]
+
+ [sec-fetch-site - Cross-Site -> Same Origin]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [PASS, NOTRUN]
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [PASS, NOTRUN]
+ if (os == "linux") and not debug and (processor == "x86"): [NOTRUN, PASS]
+ if (os == "linux") and debug: [PASS, NOTRUN]
+
+ [sec-fetch-site - Cross-Site -> Same-Site]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [PASS, NOTRUN]
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [PASS, NOTRUN]
+ if (os == "linux") and not debug and (processor == "x86"): [NOTRUN, PASS]
+ if (os == "linux") and debug: [PASS, NOTRUN]
+
+ [sec-fetch-site - Cross-Site -> Cross-Site]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [PASS, NOTRUN]
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [PASS, NOTRUN]
+ if (os == "linux") and not debug and (processor == "x86"): [NOTRUN, PASS]
+ if (os == "linux") and debug: [PASS, NOTRUN]
+
+ [sec-fetch-site - Same-Origin -> Same Origin]
+ expected:
+ if (os == "linux") and not debug and fission and (processor == "x86"): [NOTRUN, PASS, TIMEOUT]
+ if (os == "linux") and not debug and fission and (processor == "x86_64"): [PASS, NOTRUN, TIMEOUT]
+ if (os == "linux") and not debug and not fission: [PASS, NOTRUN]
+ if (os == "linux") and debug: [PASS, NOTRUN]
+
+ [sec-fetch-site - Same-Origin -> Same-Site]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [PASS, NOTRUN]
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [PASS, NOTRUN]
+ if (os == "linux") and not debug and (processor == "x86"): [NOTRUN, PASS]
+ if (os == "linux") and debug: [PASS, NOTRUN]
+
+ [sec-fetch-site - Same-Origin -> Cross-Site]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [PASS, NOTRUN]
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [PASS, NOTRUN]
+ if (os == "linux") and not debug and (processor == "x86"): [NOTRUN, PASS]
+ if (os == "linux") and debug: [PASS, NOTRUN]
+
+ [sec-fetch-site - Same-Site -> Same Origin]
+ expected:
+ if (os == "linux") and fission and not debug and (processor == "x86_64"): [PASS, NOTRUN, TIMEOUT]
+ if (os == "linux") and fission and not debug and (processor == "x86"): [NOTRUN, PASS, TIMEOUT]
+ if (os == "linux") and not fission and not debug: [PASS, NOTRUN]
+ if (os == "linux") and not fission and debug: [PASS, NOTRUN]
+ if (os == "linux") and fission and debug: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-site - Same-Site -> Same-Site]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86_64") and fission: [TIMEOUT, NOTRUN]
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [TIMEOUT, NOTRUN]
+ if (os == "linux") and debug and not fission and swgl: [PASS, TIMEOUT, NOTRUN]
+ if (os == "linux") and debug and not fission and not swgl: [TIMEOUT, PASS, NOTRUN]
+ if (os == "linux") and not debug and (processor == "x86"): [NOTRUN, TIMEOUT]
+ if (os == "linux") and debug and fission: [TIMEOUT, NOTRUN]
+
+ [sec-fetch-site - Same-Site -> Cross-Site]
+ expected:
+ if (os == "linux") and debug and not fission and swgl: [PASS, TIMEOUT, NOTRUN]
+ if (os == "linux") and debug and not fission and not swgl: [NOTRUN, PASS, TIMEOUT]
+ if (os == "linux") and debug and fission: NOTRUN
+ if (os == "linux") and not debug: NOTRUN
+
+ [sec-fetch-mode]
+ expected:
+ if (os == "linux") and not swgl and debug and not fission: [NOTRUN, PASS, TIMEOUT]
+ if (os == "linux") and not swgl and debug and fission: NOTRUN
+ if (os == "linux") and swgl and fission: NOTRUN
+ if (os == "linux") and swgl and not fission: [PASS, NOTRUN, TIMEOUT]
+ if (os == "linux") and not swgl and not debug: NOTRUN
+
+ [sec-fetch-dest]
+ expected:
+ if (os == "linux") and not swgl and debug and not fission: [NOTRUN, PASS, TIMEOUT]
+ if (os == "linux") and not swgl and debug and fission: NOTRUN
+ if (os == "linux") and swgl and not fission: [PASS, NOTRUN, TIMEOUT]
+ if (os == "linux") and swgl and fission: NOTRUN
+ if (os == "linux") and not swgl and not debug: NOTRUN
+
+ [sec-fetch-user]
+ expected:
+ if (os == "linux") and not swgl and debug and fission: NOTRUN
+ if (os == "linux") and not swgl and debug and not fission: [NOTRUN, PASS]
+ if (os == "linux") and swgl and not fission: [PASS, TIMEOUT, NOTRUN]
+ if (os == "linux") and swgl and fission: NOTRUN
+ if (os == "linux") and not swgl and not debug: NOTRUN
diff --git a/testing/web-platform/meta/fetch/metadata/generated/css-font-face.https.sub.tentative.html.ini b/testing/web-platform/meta/fetch/metadata/generated/css-font-face.https.sub.tentative.html.ini
new file mode 100644
index 0000000000..c07c3e6b0d
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/css-font-face.https.sub.tentative.html.ini
@@ -0,0 +1,3 @@
+[css-font-face.https.sub.tentative.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/css-font-face.sub.tentative.html.ini b/testing/web-platform/meta/fetch/metadata/generated/css-font-face.sub.tentative.html.ini
new file mode 100644
index 0000000000..30d30e94b4
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/css-font-face.sub.tentative.html.ini
@@ -0,0 +1,3 @@
+[css-font-face.sub.tentative.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/css-images.https.sub.tentative.html.ini b/testing/web-platform/meta/fetch/metadata/generated/css-images.https.sub.tentative.html.ini
new file mode 100644
index 0000000000..342f319993
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/css-images.https.sub.tentative.html.ini
@@ -0,0 +1,74 @@
+[css-images.https.sub.tentative.html]
+ expected: TIMEOUT
+ [background-image sec-fetch-site - Same origin]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-site - Cross-site]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-site - Same site]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-site - Same-Origin -> Cross-Site -> Same-Origin redirect]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-site - Same-Origin -> Same-Site -> Same-Origin redirect]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-site - Cross-Site -> Same Origin]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-site - Cross-Site -> Same-Site]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-site - Cross-Site -> Cross-Site]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-site - Same-Origin -> Same Origin]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-site - Same-Origin -> Same-Site]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-site - Same-Origin -> Cross-Site]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-site - Same-Site -> Same Origin]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-site - Same-Site -> Same-Site]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-site - Same-Site -> Cross-Site]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-site - HTTPS downgrade-upgrade]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-mode]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-dest]
+ expected: TIMEOUT
+
+ # Mixed content level 2 is upgrading resources like audio, img and video. For that reason we expect it to fail.
+ # See https://github.com/web-platform-tests/wpt/issues/37080
+ [sec-fetch-site - HTTPS downgrade-upgrade no attributes]
+ expected:
+ if nightly_build: FAIL
+
+ [border-image sec-fetch-site - HTTPS downgrade-upgrade]
+ expected:
+ if nightly_build: FAIL
+
+ [content sec-fetch-site - HTTPS downgrade-upgrade]
+ expected:
+ if nightly_build: FAIL
+
+ [cursor sec-fetch-site - HTTPS downgrade-upgrade]
+ expected:
+ if nightly_build: FAIL
+
+ [list-style-image sec-fetch-site - HTTPS downgrade-upgrade]
+ expected:
+ if nightly_build: FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/css-images.sub.tentative.html.ini b/testing/web-platform/meta/fetch/metadata/generated/css-images.sub.tentative.html.ini
new file mode 100644
index 0000000000..7b472064a5
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/css-images.sub.tentative.html.ini
@@ -0,0 +1,7 @@
+[css-images.sub.tentative.html]
+ expected: TIMEOUT
+ [background-image sec-fetch-site - HTTPS upgrade]
+ expected: TIMEOUT
+
+ [background-image sec-fetch-site - HTTPS downgrade-upgrade]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-a.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-a.https.sub.html.ini
new file mode 100644
index 0000000000..4ae37e1778
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-a.https.sub.html.ini
@@ -0,0 +1,9 @@
+[element-a.https.sub.html]
+ [sec-fetch-mode - attributes: download]
+ expected: FAIL
+
+ [sec-fetch-dest - attributes: download]
+ expected: FAIL
+
+ [sec-fetch-user - no attributes with user activation]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-a.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-a.sub.html.ini
new file mode 100644
index 0000000000..bef9c8554c
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-a.sub.html.ini
@@ -0,0 +1,3 @@
+[element-a.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-area.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-area.https.sub.html.ini
new file mode 100644
index 0000000000..1584fffdd9
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-area.https.sub.html.ini
@@ -0,0 +1,11 @@
+[element-area.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [sec-fetch-mode - attributes: download]
+ expected: FAIL
+
+ [sec-fetch-dest - attributes: download]
+ expected: FAIL
+
+ [sec-fetch-user - no attributes with user activation]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-area.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-area.sub.html.ini
new file mode 100644
index 0000000000..747eb3d875
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-area.sub.html.ini
@@ -0,0 +1,3 @@
+[element-area.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-audio.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-audio.https.sub.html.ini
new file mode 100644
index 0000000000..9537ac6e7f
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-audio.https.sub.html.ini
@@ -0,0 +1,11 @@
+[element-audio.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [sec-fetch-site - HTTPS downgrade-upgrade no attributes]
+ expected:
+ if nightly_build: FAIL
+
+ [sec-fetch-site - HTTPS downgrade-upgrade, no attributes]
+ expected:
+ if release_or_beta: PASS
+ FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-audio.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-audio.sub.html.ini
new file mode 100644
index 0000000000..1983556a98
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-audio.sub.html.ini
@@ -0,0 +1,3 @@
+[element-audio.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-embed.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-embed.https.sub.html.ini
new file mode 100644
index 0000000000..b3338b1c26
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-embed.https.sub.html.ini
@@ -0,0 +1,5 @@
+[element-embed.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [sec-fetch-mode]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-embed.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-embed.sub.html.ini
new file mode 100644
index 0000000000..7144280c9d
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-embed.sub.html.ini
@@ -0,0 +1,3 @@
+[element-embed.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-frame.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-frame.https.sub.html.ini
new file mode 100644
index 0000000000..bb76d8382e
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-frame.https.sub.html.ini
@@ -0,0 +1,5 @@
+[element-frame.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [sec-fetch-user with user activation]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-frame.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-frame.sub.html.ini
new file mode 100644
index 0000000000..1103993431
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-frame.sub.html.ini
@@ -0,0 +1,3 @@
+[element-frame.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-iframe.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-iframe.https.sub.html.ini
new file mode 100644
index 0000000000..d513c4370e
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-iframe.https.sub.html.ini
@@ -0,0 +1,5 @@
+[element-iframe.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [sec-fetch-user with user activation]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-iframe.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-iframe.sub.html.ini
new file mode 100644
index 0000000000..03d3b1eb97
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-iframe.sub.html.ini
@@ -0,0 +1,3 @@
+[element-iframe.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-img-environment-change.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-img-environment-change.https.sub.html.ini
new file mode 100644
index 0000000000..ff448aed8d
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-img-environment-change.https.sub.html.ini
@@ -0,0 +1,3 @@
+[element-img-environment-change.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-img-environment-change.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-img-environment-change.sub.html.ini
new file mode 100644
index 0000000000..fbec499960
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-img-environment-change.sub.html.ini
@@ -0,0 +1,3 @@
+[element-img-environment-change.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-img.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-img.https.sub.html.ini
new file mode 100644
index 0000000000..e147b7c5a6
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-img.https.sub.html.ini
@@ -0,0 +1,11 @@
+[element-img.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [sec-fetch-site - HTTPS downgrade-upgrade no attributes]
+ expected:
+ if nightly_build: FAIL
+
+ [sec-fetch-site - src - HTTPS downgrade-upgrade, no attributes]
+ expected:
+ if release_or_beta: PASS
+ FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-img.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-img.sub.html.ini
new file mode 100644
index 0000000000..0992ebf79b
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-img.sub.html.ini
@@ -0,0 +1,3 @@
+[element-img.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-input-image.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-input-image.https.sub.html.ini
new file mode 100644
index 0000000000..17be643541
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-input-image.https.sub.html.ini
@@ -0,0 +1,6 @@
+[element-input-image.https.sub.html]
+ # Mixed content level 2 is upgrading resources like audio, img and video. For that reason we expect it to fail.
+ # See https://github.com/web-platform-tests/wpt/issues/37080
+ [sec-fetch-site - HTTPS downgrade-upgrade, no attributes]
+ expected:
+ if nightly_build: FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-input-image.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-input-image.sub.html.ini
new file mode 100644
index 0000000000..37b734895f
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-input-image.sub.html.ini
@@ -0,0 +1,6 @@
+[element-input-image.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [sec-fetch-site - HTTPS downgrade-upgrade no attributes]
+ expected:
+ if nightly_build: FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-link-icon.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-link-icon.https.sub.html.ini
new file mode 100644
index 0000000000..b156a61a92
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-link-icon.https.sub.html.ini
@@ -0,0 +1,83 @@
+[element-link-icon.https.sub.html]
+ expected:
+ if os == "android": TIMEOUT
+ [sec-fetch-site - Same origin no attributes]
+ expected:
+ if os == "android": TIMEOUT
+
+ [sec-fetch-site - Cross-site no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-site - Same site no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-site - Same-Origin -> Cross-Site -> Same-Origin redirect no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-site - Same-Origin -> Same-Site -> Same-Origin redirect no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-site - Cross-Site -> Same Origin no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-site - Cross-Site -> Same-Site no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-site - Cross-Site -> Cross-Site no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-site - Same-Origin -> Same Origin no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-site - Same-Origin -> Same-Site no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-site - Same-Origin -> Cross-Site no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-site - Same-Site -> Same Origin no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-site - Same-Site -> Same-Site no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-site - Same-Site -> Cross-Site no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-mode no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-mode attributes: crossorigin]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-mode attributes: crossorigin=anonymous]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-mode attributes: crossorigin=use-credentials]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-dest no attributes]
+ expected:
+ if os == "android": NOTRUN
+ FAIL
+
+ [sec-fetch-user no attributes]
+ expected:
+ if os == "android": NOTRUN
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-link-icon.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-link-icon.sub.html.ini
new file mode 100644
index 0000000000..211b28c81a
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-link-icon.sub.html.ini
@@ -0,0 +1,62 @@
+[element-link-icon.sub.html]
+ expected:
+ if os == "android": TIMEOUT
+ [sec-fetch-site - Not sent to non-trustworthy same-origin destination no attributes]
+ expected:
+ if os == "android": TIMEOUT
+
+ [sec-fetch-site - Not sent to non-trustworthy same-site destination no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-site - Not sent to non-trustworthy cross-site destination no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-mode - Not sent to non-trustworthy same-origin destination no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-mode - Not sent to non-trustworthy same-site destination no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-mode - Not sent to non-trustworthy cross-site destination no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-dest - Not sent to non-trustworthy same-origin destination no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-dest - Not sent to non-trustworthy same-site destination no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-dest - Not sent to non-trustworthy cross-site destination no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-user - Not sent to non-trustworthy same-origin destination no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-user - Not sent to non-trustworthy same-site destination no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-user - Not sent to non-trustworthy cross-site destination no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-site - HTTPS downgrade (header not sent) no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-site - HTTPS upgrade no attributes]
+ expected:
+ if os == "android": NOTRUN
+
+ [sec-fetch-site - HTTPS downgrade-upgrade no attributes]
+ expected:
+ if os == "android": NOTRUN
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-link-prefetch.https.optional.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-link-prefetch.https.optional.sub.html.ini
new file mode 100644
index 0000000000..8f84d09a7b
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-link-prefetch.https.optional.sub.html.ini
@@ -0,0 +1,36 @@
+[element-link-prefetch.https.optional.sub.html]
+ [sec-fetch-dest attributes: as=audio]
+ expected: FAIL
+
+ [sec-fetch-dest attributes: as=document]
+ expected: FAIL
+
+ [sec-fetch-dest attributes: as=embed]
+ expected: FAIL
+
+ [sec-fetch-dest attributes: as=fetch]
+ expected: FAIL
+
+ [sec-fetch-dest attributes: as=font]
+ expected: FAIL
+
+ [sec-fetch-dest attributes: as=image]
+ expected: FAIL
+
+ [sec-fetch-dest attributes: as=object]
+ expected: FAIL
+
+ [sec-fetch-dest attributes: as=script]
+ expected: FAIL
+
+ [sec-fetch-dest attributes: as=style]
+ expected: FAIL
+
+ [sec-fetch-dest attributes: as=track]
+ expected: FAIL
+
+ [sec-fetch-dest attributes: as=video]
+ expected: FAIL
+
+ [sec-fetch-dest attributes: as=worker]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-link-prefetch.optional.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-link-prefetch.optional.sub.html.ini
new file mode 100644
index 0000000000..249f428b20
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-link-prefetch.optional.sub.html.ini
@@ -0,0 +1,3 @@
+[element-link-prefetch.optional.sub.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, ERROR, OK]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-meta-refresh.optional.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-meta-refresh.optional.sub.html.ini
new file mode 100644
index 0000000000..28c8eef143
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-meta-refresh.optional.sub.html.ini
@@ -0,0 +1,3 @@
+[element-meta-refresh.optional.sub.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-picture.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-picture.https.sub.html.ini
new file mode 100644
index 0000000000..2964404402
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-picture.https.sub.html.ini
@@ -0,0 +1,3 @@
+[element-picture.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-picture.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-picture.sub.html.ini
new file mode 100644
index 0000000000..acf8d0e64c
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-picture.sub.html.ini
@@ -0,0 +1,3 @@
+[element-picture.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-script.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-script.https.sub.html.ini
new file mode 100644
index 0000000000..e6d900102f
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-script.https.sub.html.ini
@@ -0,0 +1,3 @@
+[element-script.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-script.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-script.sub.html.ini
new file mode 100644
index 0000000000..fe2eec9353
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-script.sub.html.ini
@@ -0,0 +1,3 @@
+[element-script.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-video-poster.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-video-poster.https.sub.html.ini
new file mode 100644
index 0000000000..73780d4094
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-video-poster.https.sub.html.ini
@@ -0,0 +1,20 @@
+[element-video-poster.https.sub.html]
+ # Mixed content level 2 is upgrading resources like audio, img and video. For that reason we expect it to fail.
+ # See https://github.com/web-platform-tests/wpt/issues/37080
+ expected:
+ if nightly_build: TIMEOUT
+ [sec-fetch-site - HTTPS downgrade-upgrade]
+ expected:
+ if nightly_build: TIMEOUT
+
+ [sec-fetch-mode]
+ expected:
+ if nightly_build: NOTRUN
+
+ [sec-fetch-dest]
+ expected:
+ if nightly_build: NOTRUN
+
+ [sec-fetch-user]
+ expected:
+ if nightly_build: NOTRUN
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-video-poster.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-video-poster.sub.html.ini
new file mode 100644
index 0000000000..3f9f22ea11
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-video-poster.sub.html.ini
@@ -0,0 +1,8 @@
+[element-video-poster.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ # Mixed content level 2 is upgrading resources like audio, img and video. For that reason we expect it to fail.
+ # See https://github.com/web-platform-tests/wpt/issues/37080
+ [sec-fetch-site - HTTPS downgrade-upgrade no attributes]
+ expected:
+ if nightly_build: FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-video.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-video.https.sub.html.ini
new file mode 100644
index 0000000000..b6b616a553
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-video.https.sub.html.ini
@@ -0,0 +1,11 @@
+[element-video.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [sec-fetch-site - HTTPS downgrade-upgrade no attributes]
+ expected:
+ if nightly_build: FAIL
+
+ [sec-fetch-site - HTTPS downgrade-upgrade, no attributes]
+ expected:
+ if release_or_beta: PASS
+ FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/element-video.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/element-video.sub.html.ini
new file mode 100644
index 0000000000..68cd7b8d12
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/element-video.sub.html.ini
@@ -0,0 +1,3 @@
+[element-video.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/fetch-via-serviceworker.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/fetch-via-serviceworker.https.sub.html.ini
new file mode 100644
index 0000000000..40107a1bae
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/fetch-via-serviceworker.https.sub.html.ini
@@ -0,0 +1,65 @@
+[fetch-via-serviceworker.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ if os == "linux": [OK, TIMEOUT]
+ [sec-fetch-mode - init: mode=no-cors - respondWith]
+ expected:
+ if (os == "linux") and fission: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-mode - init: mode=no-cors - fallback]
+ expected:
+ if (os == "linux") and fission: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-mode - init: mode=same-origin - respondWith]
+ expected:
+ if (os == "linux") and fission and not debug: [PASS, TIMEOUT, NOTRUN]
+ if (os == "linux") and fission and debug: [PASS, NOTRUN]
+
+ [sec-fetch-mode - init: mode=same-origin - fallback]
+ expected:
+ if (os == "linux") and fission and debug: [PASS, NOTRUN]
+ if (os == "linux") and fission and not debug: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-dest - no init - respondWith]
+ expected:
+ if (os == "linux") and debug and fission: [PASS, NOTRUN]
+ if (os == "linux") and debug and not fission: [PASS, TIMEOUT, NOTRUN]
+ if (os == "linux") and not debug: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-dest - no init - fallback]
+ expected:
+ if os == "linux": [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-user - no init - respondWith]
+ expected:
+ if (os == "linux") and debug and fission: [PASS, NOTRUN]
+ if (os == "linux") and debug and not fission: [PASS, TIMEOUT, NOTRUN]
+ if (os == "linux") and not debug: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-user - no init - fallback]
+ expected:
+ if os == "linux": [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-mode - init: mode=cors - fallback]
+ expected: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-site - Same-Site -> Same-Site, init: mode=no-cors - respondWith]
+ expected: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-site - Same-Site -> Same-Site, init: mode=no-cors - fallback]
+ expected: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-site - Same-Site -> Cross-Site, init: mode=no-cors - respondWith]
+ expected: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-site - Same-Site -> Cross-Site, init: mode=no-cors - fallback]
+ expected: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-mode - no init - respondWith]
+ expected: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-mode - no init - fallback]
+ expected: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-mode - init: mode=cors - respondWith]
+ expected: [PASS, TIMEOUT, NOTRUN]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/fetch.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/fetch.https.sub.html.ini
new file mode 100644
index 0000000000..a122f64a98
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/fetch.https.sub.html.ini
@@ -0,0 +1,3 @@
+[fetch.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/fetch.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/fetch.sub.html.ini
new file mode 100644
index 0000000000..7037fce0c1
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/fetch.sub.html.ini
@@ -0,0 +1,3 @@
+[fetch.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/form-submission.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/form-submission.https.sub.html.ini
new file mode 100644
index 0000000000..2e6601f810
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/form-submission.https.sub.html.ini
@@ -0,0 +1,43 @@
+[form-submission.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ if os == "linux": [OK, TIMEOUT]
+ [sec-fetch-user - GET with user activation]
+ expected:
+ if os == "linux": [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-user - POST]
+ expected:
+ if (os == "linux") and not fission and not debug: [FAIL, PASS, TIMEOUT, NOTRUN]
+ if (os == "linux") and fission: [FAIL, NOTRUN]
+ FAIL
+
+ [sec-fetch-user - POST with user activation]
+ expected:
+ if (os == "linux") and debug and fission: [PASS, NOTRUN]
+ if (os == "linux") and not debug: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-user - GET]
+ expected:
+ if (os == "linux") and debug and fission: [PASS, TIMEOUT]
+ if (os == "linux") and not debug: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-dest - GET]
+ expected:
+ if (os == "linux") and not debug: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-dest - POST]
+ expected:
+ if (os == "linux") and not debug: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-mode - GET]
+ expected:
+ if (os == "linux") and not debug and fission: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-mode - POST]
+ expected:
+ if (os == "linux") and not debug and fission: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-site - HTTPS downgrade-upgrade - POST]
+ expected:
+ if (os == "linux") and not debug and fission: [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/form-submission.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/form-submission.sub.html.ini
new file mode 100644
index 0000000000..4b8016d4d7
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/form-submission.sub.html.ini
@@ -0,0 +1,22 @@
+[form-submission.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ if (os == "linux") and fission: [OK, TIMEOUT]
+ [sec-fetch-site - HTTPS upgrade - POST]
+ expected:
+ if (os == "linux") and fission and not debug: [PASS, TIMEOUT, NOTRUN]
+ if (os == "linux") and fission and debug: [PASS, TIMEOUT]
+
+ [sec-fetch-site - HTTPS downgrade-upgrade - GET]
+ expected:
+ if (os == "linux") and fission and debug: [PASS, NOTRUN]
+ if (os == "linux") and fission and not debug: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-site - HTTPS downgrade-upgrade - POST]
+ expected:
+ if (os == "linux") and fission and not debug: [PASS, TIMEOUT, NOTRUN]
+ if (os == "linux") and fission and debug: [PASS, NOTRUN]
+
+ [sec-fetch-site - HTTPS upgrade - GET]
+ expected:
+ if (os == "linux") and not debug and fission: [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/header-link.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/header-link.https.sub.html.ini
new file mode 100644
index 0000000000..4fb46002a1
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/header-link.https.sub.html.ini
@@ -0,0 +1,53 @@
+[header-link.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [sec-fetch-site rel=icon - Same origin]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - Cross-site]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - Same site]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - Same-Origin -> Cross-Site -> Same-Origin redirect]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - Same-Origin -> Same-Site -> Same-Origin redirect]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - Cross-Site -> Same Origin]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - Cross-Site -> Same-Site]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - Cross-Site -> Cross-Site]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - Same-Origin -> Same Origin]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - Same-Origin -> Same-Site]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - Same-Origin -> Cross-Site]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - Same-Site -> Same Origin]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - Same-Site -> Same-Site]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - Same-Site -> Cross-Site]
+ expected: FAIL
+
+ [sec-fetch-mode rel=icon]
+ expected: FAIL
+
+ [sec-fetch-dest rel=icon]
+ expected: FAIL
+
+ [sec-fetch-user rel=icon]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/header-link.https.sub.tentative.html.ini b/testing/web-platform/meta/fetch/metadata/generated/header-link.https.sub.tentative.html.ini
new file mode 100644
index 0000000000..bc1c9e28ed
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/header-link.https.sub.tentative.html.ini
@@ -0,0 +1,3 @@
+[header-link.https.sub.tentative.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/header-link.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/header-link.sub.html.ini
new file mode 100644
index 0000000000..7499d038c2
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/header-link.sub.html.ini
@@ -0,0 +1,47 @@
+[header-link.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [sec-fetch-site rel=icon - Not sent to non-trustworthy same-origin destination]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - Not sent to non-trustworthy same-site destination]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - Not sent to non-trustworthy cross-site destination]
+ expected: FAIL
+
+ [sec-fetch-mode rel=icon - Not sent to non-trustworthy same-origin destination]
+ expected: FAIL
+
+ [sec-fetch-mode rel=icon - Not sent to non-trustworthy same-site destination]
+ expected: FAIL
+
+ [sec-fetch-mode rel=icon - Not sent to non-trustworthy cross-site destination]
+ expected: FAIL
+
+ [sec-fetch-dest rel=icon - Not sent to non-trustworthy same-origin destination]
+ expected: FAIL
+
+ [sec-fetch-dest rel=icon - Not sent to non-trustworthy same-site destination]
+ expected: FAIL
+
+ [sec-fetch-dest rel=icon - Not sent to non-trustworthy cross-site destination]
+ expected: FAIL
+
+ [sec-fetch-user rel=icon - Not sent to non-trustworthy same-origin destination]
+ expected: FAIL
+
+ [sec-fetch-user rel=icon - Not sent to non-trustworthy same-site destination]
+ expected: FAIL
+
+ [sec-fetch-user rel=icon - Not sent to non-trustworthy cross-site destination]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - HTTPS downgrade (header not sent)]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - HTTPS upgrade]
+ expected: FAIL
+
+ [sec-fetch-site rel=icon - HTTPS downgrade-upgrade]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/header-refresh.https.optional.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/header-refresh.https.optional.sub.html.ini
new file mode 100644
index 0000000000..7892af4f33
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/header-refresh.https.optional.sub.html.ini
@@ -0,0 +1,3 @@
+[header-refresh.https.optional.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/header-refresh.optional.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/header-refresh.optional.sub.html.ini
new file mode 100644
index 0000000000..2b226c40ef
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/header-refresh.optional.sub.html.ini
@@ -0,0 +1,3 @@
+[header-refresh.optional.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/script-module-import-dynamic.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/script-module-import-dynamic.https.sub.html.ini
new file mode 100644
index 0000000000..9280fd8c8f
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/script-module-import-dynamic.https.sub.html.ini
@@ -0,0 +1,3 @@
+[script-module-import-dynamic.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/script-module-import-dynamic.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/script-module-import-dynamic.sub.html.ini
new file mode 100644
index 0000000000..ae7006d94f
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/script-module-import-dynamic.sub.html.ini
@@ -0,0 +1,3 @@
+[script-module-import-dynamic.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/script-module-import-static.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/script-module-import-static.https.sub.html.ini
new file mode 100644
index 0000000000..54d72aa076
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/script-module-import-static.https.sub.html.ini
@@ -0,0 +1,3 @@
+[script-module-import-static.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/script-module-import-static.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/script-module-import-static.sub.html.ini
new file mode 100644
index 0000000000..7218b7aff8
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/script-module-import-static.sub.html.ini
@@ -0,0 +1,3 @@
+[script-module-import-static.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/serviceworker.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/serviceworker.https.sub.html.ini
new file mode 100644
index 0000000000..3555d0e08d
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/serviceworker.https.sub.html.ini
@@ -0,0 +1,29 @@
+[serviceworker.https.sub.html]
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT]
+ if (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT]
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [sec-fetch-mode - no options - registration]
+ expected:
+ if (processor == "x86") and not debug: [PASS, TIMEOUT]
+
+ [sec-fetch-user - no options - updating]
+ expected:
+ if (processor == "x86_64") and (os == "win") and not debug: [PASS, TIMEOUT]
+ if (processor == "x86") and not debug: [PASS, NOTRUN]
+
+ [sec-fetch-mode - no options - updating]
+ expected:
+ if (processor == "x86") and not debug: [PASS, NOTRUN]
+
+ [sec-fetch-dest - no options - updating]
+ expected:
+ if (processor == "x86") and not debug: [PASS, NOTRUN]
+
+ [sec-fetch-user - no options - registration]
+ expected:
+ if (processor == "x86") and not debug: [PASS, NOTRUN]
+
+ [sec-fetch-dest - no options - registration]
+ expected:
+ if (processor == "x86") and not debug: [PASS, NOTRUN]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/svg-image.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/svg-image.https.sub.html.ini
new file mode 100644
index 0000000000..9400388616
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/svg-image.https.sub.html.ini
@@ -0,0 +1,21 @@
+[svg-image.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [sec-fetch-mode attributes: crossorigin]
+ expected: FAIL
+
+ [sec-fetch-mode attributes: crossorigin=anonymous]
+ expected: FAIL
+
+ [sec-fetch-mode attributes: crossorigin=use-credentials]
+ expected: FAIL
+
+ [sec-fetch-dest no attributes]
+ expected: FAIL
+
+ # Mixed content level 2 is upgrading resources like audio, img and video. For that reason we expect it to fail.
+ # See https://github.com/web-platform-tests/wpt/issues/37080
+ [sec-fetch-site - HTTPS downgrade-upgrade no attributes]
+ expected:
+ if release_or_beta: PASS
+ FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/svg-image.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/svg-image.sub.html.ini
new file mode 100644
index 0000000000..d36789483d
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/svg-image.sub.html.ini
@@ -0,0 +1,3 @@
+[svg-image.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/window-history.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/window-history.https.sub.html.ini
new file mode 100644
index 0000000000..0156c23335
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/window-history.https.sub.html.ini
@@ -0,0 +1,19 @@
+[window-history.https.sub.html]
+ expected:
+ if (os == "linux") and fission and not debug and (processor == "x86_64"): [OK, TIMEOUT]
+ if (os == "linux") and fission and not debug and (processor == "x86"): [OK, TIMEOUT]
+ if (os == "linux") and fission and debug: [OK, TIMEOUT]
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [sec-fetch-user - history.forward]
+ expected:
+ if (os == "linux") and fission and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN]
+ if (os == "linux") and fission and not debug and (processor == "x86_64"): [PASS, TIMEOUT, NOTRUN]
+ if (os == "linux") and fission and debug: [PASS, TIMEOUT]
+
+ [sec-fetch-user - history.back]
+ expected:
+ if (os == "linux") and not debug and fission: [PASS, TIMEOUT, NOTRUN]
+
+ [sec-fetch-dest - history.forward]
+ expected:
+ if (os == "linux") and not debug and fission: [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/window-history.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/window-history.sub.html.ini
new file mode 100644
index 0000000000..a3f35da51e
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/window-history.sub.html.ini
@@ -0,0 +1,3 @@
+[window-history.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/window-location.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/window-location.https.sub.html.ini
new file mode 100644
index 0000000000..82b7038ae6
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/window-location.https.sub.html.ini
@@ -0,0 +1,3 @@
+[window-location.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/window-location.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/window-location.sub.html.ini
new file mode 100644
index 0000000000..f0fd425512
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/window-location.sub.html.ini
@@ -0,0 +1,3 @@
+[window-location.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/worker-dedicated-constructor.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/worker-dedicated-constructor.https.sub.html.ini
new file mode 100644
index 0000000000..9ca80c8707
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/worker-dedicated-constructor.https.sub.html.ini
@@ -0,0 +1,3 @@
+[worker-dedicated-constructor.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/worker-dedicated-constructor.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/worker-dedicated-constructor.sub.html.ini
new file mode 100644
index 0000000000..8ed0e3f8a1
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/worker-dedicated-constructor.sub.html.ini
@@ -0,0 +1,26 @@
+[worker-dedicated-constructor.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [sec-fetch-site - Not sent to non-trustworthy same-site destination, no options]
+ expected: FAIL
+
+ [sec-fetch-site - Not sent to non-trustworthy cross-site destination, no options]
+ expected: FAIL
+
+ [sec-fetch-mode - Not sent to non-trustworthy same-site destination, no options]
+ expected: FAIL
+
+ [sec-fetch-mode - Not sent to non-trustworthy cross-site destination, no options]
+ expected: FAIL
+
+ [sec-fetch-dest - Not sent to non-trustworthy same-site destination, no options]
+ expected: FAIL
+
+ [sec-fetch-dest - Not sent to non-trustworthy cross-site destination, no options]
+ expected: FAIL
+
+ [sec-fetch-user - Not sent to non-trustworthy same-site destination, no options]
+ expected: FAIL
+
+ [sec-fetch-user - Not sent to non-trustworthy cross-site destination, no options]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/generated/worker-dedicated-importscripts.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/worker-dedicated-importscripts.https.sub.html.ini
new file mode 100644
index 0000000000..aa85dc6c9d
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/worker-dedicated-importscripts.https.sub.html.ini
@@ -0,0 +1,3 @@
+[worker-dedicated-importscripts.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/generated/worker-dedicated-importscripts.sub.html.ini b/testing/web-platform/meta/fetch/metadata/generated/worker-dedicated-importscripts.sub.html.ini
new file mode 100644
index 0000000000..467d989dce
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/generated/worker-dedicated-importscripts.sub.html.ini
@@ -0,0 +1,3 @@
+[worker-dedicated-importscripts.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/navigation.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/navigation.https.sub.html.ini
new file mode 100644
index 0000000000..879bc67b62
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/navigation.https.sub.html.ini
@@ -0,0 +1,3 @@
+[navigation.https.sub.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
diff --git a/testing/web-platform/meta/fetch/metadata/object.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/object.https.sub.html.ini
new file mode 100644
index 0000000000..eca74ea0bf
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/object.https.sub.html.ini
@@ -0,0 +1,3 @@
+[object.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/paint-worklet.https.html.ini b/testing/web-platform/meta/fetch/metadata/paint-worklet.https.html.ini
new file mode 100644
index 0000000000..5c7b699b4e
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/paint-worklet.https.html.ini
@@ -0,0 +1,5 @@
+[paint-worklet.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [The fetch metadata for paint worklet]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/portal.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/portal.https.sub.html.ini
new file mode 100644
index 0000000000..a3af616933
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/portal.https.sub.html.ini
@@ -0,0 +1,11 @@
+[portal.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [web-platform.test -> www.web-platform.test:8443 portal]
+ expected: FAIL
+
+ [web-platform.test -> web-platform.test:8443 portal]
+ expected: FAIL
+
+ [web-platform.test -> www.not-web-platform.test:8443 portal]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/preload.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/preload.https.sub.html.ini
new file mode 100644
index 0000000000..9c25310fac
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/preload.https.sub.html.ini
@@ -0,0 +1,108 @@
+[preload.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [preload style web-platform.test:8443: sec-fetch-site]
+ expected:
+ if (os == "win") and not debug: PASS
+ if os == "android": PASS
+ if os == "mac": PASS
+ [PASS, FAIL]
+
+ [<link rel='preload' as='style' href='https://www.not-web-platform.test:8443/...'>]
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL]
+ if (os == "linux") and debug: [PASS, FAIL]
+ if (os == "win") and debug: [PASS, FAIL]
+
+ [<link rel='preload' as='fetch' href='https://web-platform.test:8443/...'>]
+ expected:
+ if (os == "win") and not debug and (processor == "x86"): [PASS, FAIL]
+ if (os == "linux") and debug: [PASS, FAIL]
+
+ [<link rel='preload' as='image' href='https://www.not-web-platform.test:8443/...'>]
+ expected:
+ if os == "win": [PASS, FAIL]
+
+ [<link rel='preload' as='font' href='https://www.not-web-platform.test:8443/...'>]
+ expected:
+ if (os == "linux") and not debug: [PASS, FAIL]
+
+ [<link rel='preload' as='track' href='https://www.web-platform.test:8443/...'>]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: FAIL
+ [FAIL, PASS]
+
+ [preload image web-platform.test:8443: sec-fetch-site]
+ expected:
+ if (os == "android") and debug: [PASS, FAIL]
+
+ [<link rel='preload' as='fetch' href='https://www.web-platform.test:8443/...'>]
+ expected:
+ if (os == "win") and not debug and (processor == "x86"): [PASS, FAIL]
+ if (os == "linux") and debug: [PASS, FAIL]
+
+ [<link rel='preload' as='style' href='https://web-platform.test:8443/...'>]
+ expected:
+ if (os == "win") and not debug: PASS
+ if os == "android": PASS
+ [PASS, FAIL]
+
+ [<link rel='preload' as='font' href='https://web-platform.test:8443/...'>]
+ expected:
+ if (os == "linux") and not debug and (processor == "x86_64"): [PASS, FAIL]
+
+ [<link rel='preload' as='script' href='https://www.web-platform.test:8443/...'>]
+ expected:
+ if (os == "win") and debug and (processor == "x86"): [PASS, FAIL]
+ if (os == "win") and not debug: [PASS, FAIL]
+
+ [preload style www.not-web-platform.test:8443: sec-fetch-site]
+ expected:
+ if (processor == "x86") and debug: [PASS, FAIL]
+
+ [<link rel='preload' as='script' href='https://www.not-web-platform.test:8443/...'>]
+ expected:
+ if os == "win": [PASS, FAIL]
+
+ [<link rel='preload' as='track' href='https://www.not-web-platform.test:8443/...'>]
+ expected:
+ if (os == "linux") and not debug: FAIL
+ [FAIL, PASS]
+
+ [<link rel='preload' as='image' href='https://web-platform.test:8443/...'>]
+ expected:
+ if (os == "win") and not debug: PASS
+ if (os == "android") and not debug: PASS
+ [PASS, FAIL]
+
+ [<link rel='preload' as='style' href='https://www.web-platform.test:8443/...'>]
+ expected:
+ if os == "android": PASS
+ [PASS, FAIL]
+
+ [<link rel='preload' as='track' href='https://web-platform.test:8443/...'>]
+ expected:
+ if (os == "win") and not debug: FAIL
+ [FAIL, PASS]
+
+ [preload script web-platform.test:8443: sec-fetch-site]
+ expected:
+ if (os == "android") and not debug: [PASS, FAIL]
+
+ [<link rel='preload' as='image' href='https://www.web-platform.test:8443/...'>]
+ expected:
+ if (os == "android") and not debug: PASS
+ [PASS, FAIL]
+
+ [<link rel='preload' as='script' href='https://web-platform.test:8443/...'>]
+ expected:
+ if (os == "win") and debug: [PASS, FAIL]
+
+ [preload fetch web-platform.test:8443: sec-fetch-site]
+ expected:
+ if (processor == "x86") and debug: [PASS, FAIL]
+
+ [preload image www.web-platform.test:8443: sec-fetch-site]
+ expected:
+ if (os == "win") and debug: [PASS, FAIL]
+ if os == "mac": [PASS, FAIL]
diff --git a/testing/web-platform/meta/fetch/metadata/redirect/__dir__.ini b/testing/web-platform/meta/fetch/metadata/redirect/__dir__.ini
new file mode 100644
index 0000000000..6dd9fd95e0
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/redirect/__dir__.ini
@@ -0,0 +1,3 @@
+prefs: [dom.security.secFetch.enabled:true]
+lsan-disabled: true
+leak-threshold: [tab:51200]
diff --git a/testing/web-platform/meta/fetch/metadata/redirect/multiple-redirect-https-downgrade-upgrade.sub.html.ini b/testing/web-platform/meta/fetch/metadata/redirect/multiple-redirect-https-downgrade-upgrade.sub.html.ini
new file mode 100644
index 0000000000..acec7ab9c6
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/redirect/multiple-redirect-https-downgrade-upgrade.sub.html.ini
@@ -0,0 +1,3 @@
+[multiple-redirect-https-downgrade-upgrade.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, CRASH]
diff --git a/testing/web-platform/meta/fetch/metadata/redirect/redirect-http-upgrade.sub.html.ini b/testing/web-platform/meta/fetch/metadata/redirect/redirect-http-upgrade.sub.html.ini
new file mode 100644
index 0000000000..997724c7ba
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/redirect/redirect-http-upgrade.sub.html.ini
@@ -0,0 +1,3 @@
+[redirect-http-upgrade.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, CRASH]
diff --git a/testing/web-platform/meta/fetch/metadata/redirect/redirect-https-downgrade.sub.html.ini b/testing/web-platform/meta/fetch/metadata/redirect/redirect-https-downgrade.sub.html.ini
new file mode 100644
index 0000000000..74418cac9b
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/redirect/redirect-https-downgrade.sub.html.ini
@@ -0,0 +1,4 @@
+[redirect-https-downgrade.sub.html]
+ expected:
+ if (os == "mac") and not debug: [OK, TIMEOUT]
+ if (os == "android") and fission: [TIMEOUT, OK, CRASH]
diff --git a/testing/web-platform/meta/fetch/metadata/report.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/report.https.sub.html.ini
new file mode 100644
index 0000000000..c52bb35e9d
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/report.https.sub.html.ini
@@ -0,0 +1,3 @@
+[report.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/serviceworker-accessors.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/serviceworker-accessors.https.sub.html.ini
new file mode 100644
index 0000000000..5c7719342d
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/serviceworker-accessors.https.sub.html.ini
@@ -0,0 +1,4 @@
+[serviceworker-accessors.https.sub.html]
+ expected:
+ if (os == "linux") and not debug and fission: [OK, CRASH]
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/sharedworker.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/sharedworker.https.sub.html.ini
new file mode 100644
index 0000000000..bf4b61bc05
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/sharedworker.https.sub.html.ini
@@ -0,0 +1,3 @@
+[sharedworker.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/style.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/style.https.sub.html.ini
new file mode 100644
index 0000000000..6b7e03dce5
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/style.https.sub.html.ini
@@ -0,0 +1,3 @@
+[style.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/track.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/track.https.sub.html.ini
new file mode 100644
index 0000000000..cce2ac4bd6
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/track.https.sub.html.ini
@@ -0,0 +1,5 @@
+[track.https.sub.html]
+ expected:
+ if (os == "linux") and not debug and fission: [OK, TIMEOUT]
+ if (os == "mac") and not debug: [OK, TIMEOUT]
+ if (os == "android") and fission: [OK, CRASH, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/trailing-dot.https.sub.any.js.ini b/testing/web-platform/meta/fetch/metadata/trailing-dot.https.sub.any.js.ini
new file mode 100644
index 0000000000..c3a093718e
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/trailing-dot.https.sub.any.js.ini
@@ -0,0 +1,50 @@
+[trailing-dot.https.sub.any.serviceworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Fetching a resource from a cross-site host, spelled with a trailing dot.]
+ expected: FAIL
+
+ [Fetching a resource from the same origin, but spelled with a trailing dot.]
+ expected: FAIL
+
+ [Fetching a resource from the same site, but spelled with a trailing dot.]
+ expected: FAIL
+
+
+[trailing-dot.https.sub.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Fetching a resource from a cross-site host, spelled with a trailing dot.]
+ expected: FAIL
+
+ [Fetching a resource from the same origin, but spelled with a trailing dot.]
+ expected: FAIL
+
+ [Fetching a resource from the same site, but spelled with a trailing dot.]
+ expected: FAIL
+
+
+[trailing-dot.https.sub.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Fetching a resource from a cross-site host, spelled with a trailing dot.]
+ expected: FAIL
+
+ [Fetching a resource from the same origin, but spelled with a trailing dot.]
+ expected: FAIL
+
+ [Fetching a resource from the same site, but spelled with a trailing dot.]
+ expected: FAIL
+
+
+[trailing-dot.https.sub.any.sharedworker.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
+ [Fetching a resource from a cross-site host, spelled with a trailing dot.]
+ expected: FAIL
+
+ [Fetching a resource from the same origin, but spelled with a trailing dot.]
+ expected: FAIL
+
+ [Fetching a resource from the same site, but spelled with a trailing dot.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/metadata/unload.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/unload.https.sub.html.ini
new file mode 100644
index 0000000000..1087967073
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/unload.https.sub.html.ini
@@ -0,0 +1,3 @@
+[unload.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/window-open.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/window-open.https.sub.html.ini
new file mode 100644
index 0000000000..9b0edd7a72
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/window-open.https.sub.html.ini
@@ -0,0 +1,14 @@
+[window-open.https.sub.html]
+ expected:
+ if (os == "linux") and (processor == "x86_64") and swgl and not fission: [ERROR, OK]
+ if (os == "win") and (processor == "x86_64") and not debug: [ERROR, OK]
+ if (os == "android") and fission: [OK, ERROR, TIMEOUT]
+ if (os == "mac") and debug: [ERROR, OK]
+ [OK, ERROR]
+ [Cross-site window, forced, reloaded]
+ expected: [PASS, FAIL]
+
+ [Same-site window, forced, reloaded]
+ expected:
+ if (os == "win") and debug and (processor == "x86_64"): PASS
+ [PASS, FAIL]
diff --git a/testing/web-platform/meta/fetch/metadata/worker.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/worker.https.sub.html.ini
new file mode 100644
index 0000000000..d5fa7eb9df
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/worker.https.sub.html.ini
@@ -0,0 +1,3 @@
+[worker.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/metadata/xslt.https.sub.html.ini b/testing/web-platform/meta/fetch/metadata/xslt.https.sub.html.ini
new file mode 100644
index 0000000000..3a334d50e4
--- /dev/null
+++ b/testing/web-platform/meta/fetch/metadata/xslt.https.sub.html.ini
@@ -0,0 +1,5 @@
+[xslt.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [undefined: sec-fetch-mode]
+ expected: FAIL