From fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:14:29 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- .../setters.tentative.https.sub.html | 24 ---------------------- 1 file changed, 24 deletions(-) (limited to 'testing/web-platform/tests/shared-storage/setters.tentative.https.sub.html') 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'); -- cgit v1.2.3