summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/fetch/stale-while-revalidate
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/fetch/stale-while-revalidate')
-rw-r--r--testing/web-platform/meta/fetch/stale-while-revalidate/__dir__.ini1
-rw-r--r--testing/web-platform/meta/fetch/stale-while-revalidate/fetch-sw.https.html.ini10
-rw-r--r--testing/web-platform/meta/fetch/stale-while-revalidate/fetch.any.js.ini19
-rw-r--r--testing/web-platform/meta/fetch/stale-while-revalidate/stale-css.html.ini5
-rw-r--r--testing/web-platform/meta/fetch/stale-while-revalidate/stale-image.html.ini5
-rw-r--r--testing/web-platform/meta/fetch/stale-while-revalidate/stale-script.html.ini3
6 files changed, 43 insertions, 0 deletions
diff --git a/testing/web-platform/meta/fetch/stale-while-revalidate/__dir__.ini b/testing/web-platform/meta/fetch/stale-while-revalidate/__dir__.ini
new file mode 100644
index 0000000000..af3fba20e4
--- /dev/null
+++ b/testing/web-platform/meta/fetch/stale-while-revalidate/__dir__.ini
@@ -0,0 +1 @@
+lsan-allowed: [Alloc, Create, Malloc, Then, mozilla::BasePrincipal::CreateContentPrincipal, mozilla::dom::DocGroup::Create, mozilla::dom::ServiceWorkerJobQueue::RunJob, mozilla::dom::ServiceWorkerManager::Unregister, mozilla::dom::ServiceWorkerRegistrationMainThread::Unregister, mozilla::dom::UnregisterCallback::UnregisterCallback, mozilla::net::nsStandardURL::TemplatedMutator, operator]
diff --git a/testing/web-platform/meta/fetch/stale-while-revalidate/fetch-sw.https.html.ini b/testing/web-platform/meta/fetch/stale-while-revalidate/fetch-sw.https.html.ini
new file mode 100644
index 0000000000..6f7751b08f
--- /dev/null
+++ b/testing/web-platform/meta/fetch/stale-while-revalidate/fetch-sw.https.html.ini
@@ -0,0 +1,10 @@
+[fetch-sw.https.html]
+ expected:
+ if (os == "win") and debug and (processor == "x86"): [OK, TIMEOUT, CRASH]
+ if (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT]
+ if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT]
+ [Second fetch returns same response]
+ expected:
+ if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, TIMEOUT]
+ if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, TIMEOUT]
+ if (os == "win") and not swgl and debug: [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/fetch/stale-while-revalidate/fetch.any.js.ini b/testing/web-platform/meta/fetch/stale-while-revalidate/fetch.any.js.ini
new file mode 100644
index 0000000000..937c2e8d2f
--- /dev/null
+++ b/testing/web-platform/meta/fetch/stale-while-revalidate/fetch.any.js.ini
@@ -0,0 +1,19 @@
+[fetch.any.html]
+ expected:
+ if (os == "android") and debug and not swgl: [OK, TIMEOUT]
+ [Second fetch returns same response]
+ expected:
+ if (os == "android") and debug and not swgl: [PASS, TIMEOUT]
+
+
+[fetch.any.worker.html]
+
+[fetch.any.serviceworker.html]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [OK, TIMEOUT]
+ [Second fetch returns same response]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [PASS, TIMEOUT]
+
+
+[fetch.any.sharedworker.html]
diff --git a/testing/web-platform/meta/fetch/stale-while-revalidate/stale-css.html.ini b/testing/web-platform/meta/fetch/stale-while-revalidate/stale-css.html.ini
new file mode 100644
index 0000000000..8be258aa11
--- /dev/null
+++ b/testing/web-platform/meta/fetch/stale-while-revalidate/stale-css.html.ini
@@ -0,0 +1,5 @@
+[stale-css.html]
+ expected: TIMEOUT
+ [Cache returns stale resource]
+ expected: TIMEOUT
+
diff --git a/testing/web-platform/meta/fetch/stale-while-revalidate/stale-image.html.ini b/testing/web-platform/meta/fetch/stale-while-revalidate/stale-image.html.ini
new file mode 100644
index 0000000000..286cee5dbb
--- /dev/null
+++ b/testing/web-platform/meta/fetch/stale-while-revalidate/stale-image.html.ini
@@ -0,0 +1,5 @@
+[stale-image.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Cache returns stale resource]
+ expected: FAIL
diff --git a/testing/web-platform/meta/fetch/stale-while-revalidate/stale-script.html.ini b/testing/web-platform/meta/fetch/stale-while-revalidate/stale-script.html.ini
new file mode 100644
index 0000000000..5627246cdd
--- /dev/null
+++ b/testing/web-platform/meta/fetch/stale-while-revalidate/stale-script.html.ini
@@ -0,0 +1,3 @@
+[stale-script.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]