summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/IndexedDB/idb-binary-key-detached.htm
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/IndexedDB/idb-binary-key-detached.htm')
-rw-r--r--testing/web-platform/tests/IndexedDB/idb-binary-key-detached.htm4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/web-platform/tests/IndexedDB/idb-binary-key-detached.htm b/testing/web-platform/tests/IndexedDB/idb-binary-key-detached.htm
index ac6fc2ef98..a4ce3fbce0 100644
--- a/testing/web-platform/tests/IndexedDB/idb-binary-key-detached.htm
+++ b/testing/web-platform/tests/IndexedDB/idb-binary-key-detached.htm
@@ -23,7 +23,7 @@ indexeddb_test(
worker.postMessage('', [buffer]);
assert_equals(array.byteLength, 0);
- assert_throws_js(TypeError, () => { store.put('', buffer); });
+ assert_throws_dom("DataError", () => { store.put('', buffer); });
t.done();
},
'Detached ArrayBuffer'
@@ -43,7 +43,7 @@ indexeddb_test(
worker.postMessage('', [array.buffer]);
assert_equals(array.length, 0);
- assert_throws_js(TypeError, () => { store.put('', array); });
+ assert_throws_dom("DataError", () => { store.put('', array); });
t.done();
},
'Detached TypedArray'