summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/storage
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/storage
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/storage')
-rw-r--r--testing/web-platform/meta/storage/__dir__.ini2
-rw-r--r--testing/web-platform/meta/storage/buckets/bucket-quota-indexeddb.tentative.https.any.js.ini8
-rw-r--r--testing/web-platform/meta/storage/buckets/bucket-storage-policy.tentative.https.any.js.ini18
-rw-r--r--testing/web-platform/meta/storage/estimate-indexeddb.https.any.js.ini9
-rw-r--r--testing/web-platform/meta/storage/estimate-parallel.https.any.js.ini7
-rw-r--r--testing/web-platform/meta/storage/estimate-usage-details-caches.https.tentative.any.js.ini12
-rw-r--r--testing/web-platform/meta/storage/estimate-usage-details-indexeddb.https.tentative.any.js.ini18
-rw-r--r--testing/web-platform/meta/storage/estimate-usage-details-service-workers.https.tentative.window.js.ini5
-rw-r--r--testing/web-platform/meta/storage/estimate-usage-details.https.tentative.any.js.ini12
-rw-r--r--testing/web-platform/meta/storage/idlharness.https.any.js.ini7
-rw-r--r--testing/web-platform/meta/storage/opaque-origin.https.window.js.ini14
-rw-r--r--testing/web-platform/meta/storage/partitioned-estimate-usage-details-caches.tentative.https.sub.html.ini6
-rw-r--r--testing/web-platform/meta/storage/partitioned-estimate-usage-details-indexeddb.tentative.https.sub.html.ini4
-rw-r--r--testing/web-platform/meta/storage/partitioned-estimate-usage-details-service-workers.tentative.https.sub.html.ini4
-rw-r--r--testing/web-platform/meta/storage/permission-query.https.any.js.ini6
-rw-r--r--testing/web-platform/meta/storage/persisted.https.any.js.ini7
-rw-r--r--testing/web-platform/meta/storage/quotachange-in-detached-iframe.tentative.https.html.ini5
-rw-r--r--testing/web-platform/meta/storage/storagemanager-persist-persisted-match.https.any.js.ini13
-rw-r--r--testing/web-platform/meta/storage/storagemanager-persist.https.window.js.ini9
-rw-r--r--testing/web-platform/meta/storage/storagemanager-persist.https.worker.js.ini3
-rw-r--r--testing/web-platform/meta/storage/storagemanager-persisted.https.any.js.ini7
21 files changed, 176 insertions, 0 deletions
diff --git a/testing/web-platform/meta/storage/__dir__.ini b/testing/web-platform/meta/storage/__dir__.ini
new file mode 100644
index 0000000000..04e50a9171
--- /dev/null
+++ b/testing/web-platform/meta/storage/__dir__.ini
@@ -0,0 +1,2 @@
+prefs: [dom.storageManager.enabled:true]
+leak-threshold: [default:51200]
diff --git a/testing/web-platform/meta/storage/buckets/bucket-quota-indexeddb.tentative.https.any.js.ini b/testing/web-platform/meta/storage/buckets/bucket-quota-indexeddb.tentative.https.any.js.ini
new file mode 100644
index 0000000000..1f593aa211
--- /dev/null
+++ b/testing/web-platform/meta/storage/buckets/bucket-quota-indexeddb.tentative.https.any.js.ini
@@ -0,0 +1,8 @@
+[bucket-quota-indexeddb.tentative.https.any.worker.html]
+ [IDB respects bucket quota]
+ expected: FAIL
+
+
+[bucket-quota-indexeddb.tentative.https.any.html]
+ [IDB respects bucket quota]
+ expected: FAIL
diff --git a/testing/web-platform/meta/storage/buckets/bucket-storage-policy.tentative.https.any.js.ini b/testing/web-platform/meta/storage/buckets/bucket-storage-policy.tentative.https.any.js.ini
new file mode 100644
index 0000000000..834d2c1be6
--- /dev/null
+++ b/testing/web-platform/meta/storage/buckets/bucket-storage-policy.tentative.https.any.js.ini
@@ -0,0 +1,18 @@
+[bucket-storage-policy.tentative.https.any.html]
+ [The open promise should reject with a TypeError when quota is requested outside the range of 1 to Number.MAX_SAFE_INTEGER.]
+ expected: FAIL
+
+
+[bucket-storage-policy.tentative.https.any.worker.html]
+ [The open promise should reject with a TypeError when quota is requested outside the range of 1 to Number.MAX_SAFE_INTEGER.]
+ expected: FAIL
+
+
+[bucket-storage-policy.tentative.https.any.sharedworker.html]
+ [The open promise should reject with a TypeError when quota is requested outside the range of 1 to Number.MAX_SAFE_INTEGER.]
+ expected: FAIL
+
+
+[bucket-storage-policy.tentative.https.any.serviceworker.html]
+ [The open promise should reject with a TypeError when quota is requested outside the range of 1 to Number.MAX_SAFE_INTEGER.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/storage/estimate-indexeddb.https.any.js.ini b/testing/web-platform/meta/storage/estimate-indexeddb.https.any.js.ini
new file mode 100644
index 0000000000..b51d269abb
--- /dev/null
+++ b/testing/web-platform/meta/storage/estimate-indexeddb.https.any.js.ini
@@ -0,0 +1,9 @@
+[estimate-indexeddb.https.any.html]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [OK, TIMEOUT]
+ [estimate() shows usage increase after large value is stored]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [PASS, TIMEOUT]
+
+
+[estimate-indexeddb.https.any.worker.html]
diff --git a/testing/web-platform/meta/storage/estimate-parallel.https.any.js.ini b/testing/web-platform/meta/storage/estimate-parallel.https.any.js.ini
new file mode 100644
index 0000000000..fae262d1ef
--- /dev/null
+++ b/testing/web-platform/meta/storage/estimate-parallel.https.any.js.ini
@@ -0,0 +1,7 @@
+[estimate-parallel.https.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[estimate-parallel.https.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/storage/estimate-usage-details-caches.https.tentative.any.js.ini b/testing/web-platform/meta/storage/estimate-usage-details-caches.https.tentative.any.js.ini
new file mode 100644
index 0000000000..55ae441413
--- /dev/null
+++ b/testing/web-platform/meta/storage/estimate-usage-details-caches.https.tentative.any.js.ini
@@ -0,0 +1,12 @@
+[estimate-usage-details-caches.https.tentative.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [estimate() shows usage increase after large value is stored]
+ expected: FAIL
+
+
+[estimate-usage-details-caches.https.tentative.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [estimate() shows usage increase after large value is stored]
+ expected: FAIL
diff --git a/testing/web-platform/meta/storage/estimate-usage-details-indexeddb.https.tentative.any.js.ini b/testing/web-platform/meta/storage/estimate-usage-details-indexeddb.https.tentative.any.js.ini
new file mode 100644
index 0000000000..b7a3fbe08f
--- /dev/null
+++ b/testing/web-platform/meta/storage/estimate-usage-details-indexeddb.https.tentative.any.js.ini
@@ -0,0 +1,18 @@
+[estimate-usage-details-indexeddb.https.tentative.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [estimate() resolves to dictionary with usageDetails member]
+ expected: FAIL
+
+ [estimate() usage details reflects increase in indexedDB after large value is stored]
+ expected: FAIL
+
+
+[estimate-usage-details-indexeddb.https.tentative.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [estimate() resolves to dictionary with usageDetails member]
+ expected: FAIL
+
+ [estimate() usage details reflects increase in indexedDB after large value is stored]
+ expected: FAIL
diff --git a/testing/web-platform/meta/storage/estimate-usage-details-service-workers.https.tentative.window.js.ini b/testing/web-platform/meta/storage/estimate-usage-details-service-workers.https.tentative.window.js.ini
new file mode 100644
index 0000000000..e6f4308ef1
--- /dev/null
+++ b/testing/web-platform/meta/storage/estimate-usage-details-service-workers.https.tentative.window.js.ini
@@ -0,0 +1,5 @@
+[estimate-usage-details-service-workers.https.tentative.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [estimate() shows usage increase after large value is stored]
+ expected: FAIL
diff --git a/testing/web-platform/meta/storage/estimate-usage-details.https.tentative.any.js.ini b/testing/web-platform/meta/storage/estimate-usage-details.https.tentative.any.js.ini
new file mode 100644
index 0000000000..f1ade4b4d5
--- /dev/null
+++ b/testing/web-platform/meta/storage/estimate-usage-details.https.tentative.any.js.ini
@@ -0,0 +1,12 @@
+[estimate-usage-details.https.tentative.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [estimate() resolves to dictionary with members, including usageDetails]
+ expected: FAIL
+
+
+[estimate-usage-details.https.tentative.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [estimate() resolves to dictionary with members, including usageDetails]
+ expected: FAIL
diff --git a/testing/web-platform/meta/storage/idlharness.https.any.js.ini b/testing/web-platform/meta/storage/idlharness.https.any.js.ini
new file mode 100644
index 0000000000..ea21feb160
--- /dev/null
+++ b/testing/web-platform/meta/storage/idlharness.https.any.js.ini
@@ -0,0 +1,7 @@
+[idlharness.https.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[idlharness.https.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/storage/opaque-origin.https.window.js.ini b/testing/web-platform/meta/storage/opaque-origin.https.window.js.ini
new file mode 100644
index 0000000000..2eb6aab748
--- /dev/null
+++ b/testing/web-platform/meta/storage/opaque-origin.https.window.js.ini
@@ -0,0 +1,14 @@
+[opaque-origin.https.window.html]
+ expected:
+ if (os == "android") and not fission: OK
+ if (os == "android") and fission: [OK, TIMEOUT]
+ TIMEOUT
+ [navigator.storage.persist() in non-sandboxed iframe should not reject]
+ expected:
+ if os == "android": PASS
+ TIMEOUT
+
+ [navigator.storage.persist() in sandboxed iframe should reject with TypeError]
+ expected:
+ if os == "android": PASS
+ NOTRUN
diff --git a/testing/web-platform/meta/storage/partitioned-estimate-usage-details-caches.tentative.https.sub.html.ini b/testing/web-platform/meta/storage/partitioned-estimate-usage-details-caches.tentative.https.sub.html.ini
new file mode 100644
index 0000000000..ffc987179d
--- /dev/null
+++ b/testing/web-platform/meta/storage/partitioned-estimate-usage-details-caches.tentative.https.sub.html.ini
@@ -0,0 +1,6 @@
+[partitioned-estimate-usage-details-caches.tentative.https.sub.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+ [Partitioned estimate() usage details for caches test.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/storage/partitioned-estimate-usage-details-indexeddb.tentative.https.sub.html.ini b/testing/web-platform/meta/storage/partitioned-estimate-usage-details-indexeddb.tentative.https.sub.html.ini
new file mode 100644
index 0000000000..251a3555b4
--- /dev/null
+++ b/testing/web-platform/meta/storage/partitioned-estimate-usage-details-indexeddb.tentative.https.sub.html.ini
@@ -0,0 +1,4 @@
+[partitioned-estimate-usage-details-indexeddb.tentative.https.sub.html]
+ expected: ERROR
+ [Partitioned estimate() usage details for indexeddb test.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/storage/partitioned-estimate-usage-details-service-workers.tentative.https.sub.html.ini b/testing/web-platform/meta/storage/partitioned-estimate-usage-details-service-workers.tentative.https.sub.html.ini
new file mode 100644
index 0000000000..65486a7dab
--- /dev/null
+++ b/testing/web-platform/meta/storage/partitioned-estimate-usage-details-service-workers.tentative.https.sub.html.ini
@@ -0,0 +1,4 @@
+[partitioned-estimate-usage-details-service-workers.tentative.https.sub.html]
+ expected: ERROR
+ [Partitioned estimate() usage details for service workers test.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/storage/permission-query.https.any.js.ini b/testing/web-platform/meta/storage/permission-query.https.any.js.ini
new file mode 100644
index 0000000000..8bd90e07b9
--- /dev/null
+++ b/testing/web-platform/meta/storage/permission-query.https.any.js.ini
@@ -0,0 +1,6 @@
+[permission-query.https.any.worker.html]
+ [The "persistent-storage" permission is recognized]
+ expected: FAIL
+
+
+[permission-query.https.any.html]
diff --git a/testing/web-platform/meta/storage/persisted.https.any.js.ini b/testing/web-platform/meta/storage/persisted.https.any.js.ini
new file mode 100644
index 0000000000..cc0c4f2853
--- /dev/null
+++ b/testing/web-platform/meta/storage/persisted.https.any.js.ini
@@ -0,0 +1,7 @@
+[persisted.https.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[persisted.https.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/storage/quotachange-in-detached-iframe.tentative.https.html.ini b/testing/web-platform/meta/storage/quotachange-in-detached-iframe.tentative.https.html.ini
new file mode 100644
index 0000000000..c5d3c5c231
--- /dev/null
+++ b/testing/web-platform/meta/storage/quotachange-in-detached-iframe.tentative.https.html.ini
@@ -0,0 +1,5 @@
+[quotachange-in-detached-iframe.tentative.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Add quotachange listener on detached iframe.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/storage/storagemanager-persist-persisted-match.https.any.js.ini b/testing/web-platform/meta/storage/storagemanager-persist-persisted-match.https.any.js.ini
new file mode 100644
index 0000000000..e39822b237
--- /dev/null
+++ b/testing/web-platform/meta/storage/storagemanager-persist-persisted-match.https.any.js.ini
@@ -0,0 +1,13 @@
+[storagemanager-persist-persisted-match.https.any.html]
+ expected:
+ if os == "android": OK
+ TIMEOUT
+ [navigator.storage.persist() resolves to a value that matches navigator.storage.persisted()]
+ expected:
+ if os == "android": PASS
+ TIMEOUT
+
+
+[storagemanager-persist-persisted-match.https.any.worker.html]
+ [navigator.storage.persist() resolves to a value that matches navigator.storage.persisted()]
+ expected: FAIL
diff --git a/testing/web-platform/meta/storage/storagemanager-persist.https.window.js.ini b/testing/web-platform/meta/storage/storagemanager-persist.https.window.js.ini
new file mode 100644
index 0000000000..007fffedd2
--- /dev/null
+++ b/testing/web-platform/meta/storage/storagemanager-persist.https.window.js.ini
@@ -0,0 +1,9 @@
+[storagemanager-persist.https.window.html]
+ expected:
+ if (os == "android") and not fission: OK
+ if (os == "android") and fission: [OK, TIMEOUT]
+ TIMEOUT
+ [navigator.storage.persist() returns a promise that resolves.]
+ expected:
+ if os == "android": PASS
+ TIMEOUT
diff --git a/testing/web-platform/meta/storage/storagemanager-persist.https.worker.js.ini b/testing/web-platform/meta/storage/storagemanager-persist.https.worker.js.ini
new file mode 100644
index 0000000000..7774824fda
--- /dev/null
+++ b/testing/web-platform/meta/storage/storagemanager-persist.https.worker.js.ini
@@ -0,0 +1,3 @@
+[storagemanager-persist.https.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/storage/storagemanager-persisted.https.any.js.ini b/testing/web-platform/meta/storage/storagemanager-persisted.https.any.js.ini
new file mode 100644
index 0000000000..917980131c
--- /dev/null
+++ b/testing/web-platform/meta/storage/storagemanager-persisted.https.any.js.ini
@@ -0,0 +1,7 @@
+[storagemanager-persisted.https.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[storagemanager-persisted.https.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]