summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/shared-storage/setters.tentative.https.sub.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /testing/web-platform/tests/shared-storage/setters.tentative.https.sub.html
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz
firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/shared-storage/setters.tentative.https.sub.html')
-rw-r--r--testing/web-platform/tests/shared-storage/setters.tentative.https.sub.html24
1 files changed, 0 insertions, 24 deletions
diff --git a/testing/web-platform/tests/shared-storage/setters.tentative.https.sub.html b/testing/web-platform/tests/shared-storage/setters.tentative.https.sub.html
index ffc4bfbd7d..891f8a7acb 100644
--- a/testing/web-platform/tests/shared-storage/setters.tentative.https.sub.html
+++ b/testing/web-platform/tests/shared-storage/setters.tentative.https.sub.html
@@ -26,10 +26,6 @@ promise_test(async t => {
return promise_rejects_js(t, TypeError, sharedStorage.set("a", "b", "c"));
}, 'sharedStorage.set with invalid options');
-promise_test(() => {
- return sharedStorage.set('a'.repeat(1024), 'b'.repeat(1024));
-}, 'sharedStorage.set with max allowed key and value length');
-
promise_test(async t => {
try {
await sharedStorage.set('', 'b');
@@ -40,26 +36,6 @@ promise_test(async t => {
assert_unreached("did not reject");
}, 'sharedStorage.set with empty key');
-promise_test(async t => {
- try {
- await sharedStorage.set('a'.repeat(1025), 'b');
- } catch (e) {
- assert_equals(e.name, 'DataError');
- return;
- }
- assert_unreached("did not reject");
-}, 'sharedStorage.set with key length too big');
-
-promise_test(async t => {
- try {
- await sharedStorage.set('a', 'b'.repeat(1025));
- } catch (e) {
- assert_equals(e.name, 'DataError');
- return;
- }
- assert_unreached("did not reject");
-}, 'sharedStorage.set with value length too big');
-
promise_test(() => {
return sharedStorage.append("a", "b");
}, 'sharedStorage.append');