summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/shared-storage/setters.tentative.https.sub.html
diff options
context:
space:
mode:
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');