diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
commit | fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch) | |
tree | 4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /testing/web-platform/tests/shared-storage/setters.tentative.https.sub.html | |
parent | Releasing progress-linux version 124.0.1-1~progress7.99u1. (diff) | |
download | firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.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.html | 24 |
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'); |