From 9dc1dde7cb293ce872a5a3ec8d43a1eb5b08b1a4 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Fri, 20 Jun 2025 00:51:56 -0400 Subject: [PATCH] script: Store result value in IDBRequest. (#37568) While this introduces many new crashes in the test results, that's actually progress. Previously a huge number of tests were failing early because we never persisted the load-bearing `result` value for upgradeneeded events, so now we get to see much more interesting failures in our IndexedDB implementation. Testing: Existing WPT testsuite for IndexedDB. Fixes: part of #6963 Depends on #37567. Signed-off-by: Josh Matthews --- components/script/dom/idbrequest.rs | 4 +- .../indexeddb/blob-contenttype.any.js.ini | 3 +- .../blob-valid-after-deletion.any.js.ini | 3 +- .../blob-valid-before-commit.any.js.ini | 3 +- .../clone-before-keypath-eval.any.js.ini | 2 + .../meta/indexeddb/delete-range.any.js.ini | 2 + .../indexeddb/delete-request-queue.any.js.ini | 6 --- .../indexeddb/error-attributes.any.js.ini | 2 + .../event-dispatch-active-flag.any.js.ini | 2 + .../fire-error-event-exception.any.js.ini | 2 + .../fire-success-event-exception.any.js.ini | 2 + .../indexeddb/idb-binary-key-detached.htm.ini | 1 + .../idb-partitioned-persistence.sub.html.ini | 3 +- .../wpt/meta/indexeddb/idb_webworkers.htm.ini | 2 +- ...r-continuePrimaryKey-exceptions.any.js.ini | 6 +-- .../indexeddb/idbcursor-direction.any.js.ini | 4 +- .../meta/indexeddb/idbcursor-key.any.js.ini | 2 + .../idbcursor_advance_objectstore.any.js.ini | 2 + .../idbcursor_continue_objectstore.any.js.ini | 4 +- .../idbcursor_delete_objectstore.any.js.ini | 2 + .../indexeddb/idbcursor_iterating.any.js.ini | 2 - .../idbcursor_update_objectstore.any.js.ini | 2 + ...ase-transaction-exception-order.any.js.ini | 18 +++----- .../idbdatabase_createObjectStore.any.js.ini | 2 + .../idbdatabase_deleteObjectStore.any.js.ini | 2 + .../idbdatabase_transaction.any.js.ini | 18 -------- .../idbfactory_deleteDatabase.any.js.ini | 18 -------- .../meta/indexeddb/idbfactory_open.any.js.ini | 24 ---------- ...bindex_getAll-options.tentative.any.js.ini | 46 +++++++++++++++++++ ...ex_getAllKeys-options.tentative.any.js.ini | 41 +++++++++++++++++ ...ctstore-add-put-exception-order.any.js.ini | 12 ----- ...jectstore-clear-exception-order.any.js.ini | 4 +- ...ectstore-delete-exception-order.any.js.ini | 4 +- ...objectstore-getAll-enforcerange.any.js.ini | 6 --- ...ctstore-getAllKeys-enforcerange.any.js.ini | 5 -- .../idbobjectstore-request-source.any.js.ini | 2 + ...ectstore-transaction-SameObject.any.js.ini | 5 -- .../indexeddb/idbobjectstore_add.any.js.ini | 2 + .../indexeddb/idbobjectstore_clear.any.js.ini | 2 + .../indexeddb/idbobjectstore_count.any.js.ini | 2 + .../idbobjectstore_createIndex.any.js.ini | 4 +- .../idbobjectstore_delete.any.js.ini | 2 + .../indexeddb/idbobjectstore_get.any.js.ini | 2 + ...tstore_getAll-options.tentative.any.js.ini | 46 +++++++++++++++++++ ...re_getAllKeys-options.tentative.any.js.ini | 40 ++++++++++++++++ .../idbobjectstore_openCursor.any.js.ini | 2 + .../indexeddb/idbobjectstore_put.any.js.ini | 2 + .../idbtransaction-db-SameObject.any.js.ini | 6 --- ...ion-objectStore-exception-order.any.js.ini | 6 ++- .../meta/indexeddb/idbtransaction.any.js.ini | 5 -- .../indexeddb/idbtransaction_abort.any.js.ini | 2 + ...idbtransaction_objectStoreNames.any.js.ini | 2 + .../key-conversion-exceptions.any.js.ini | 12 ----- .../wpt/meta/indexeddb/key_invalid.any.js.ini | 2 + tests/wpt/meta/indexeddb/key_valid.any.js.ini | 2 + .../meta/indexeddb/keygenerator.any.js.ini | 2 + tests/wpt/meta/indexeddb/keyorder.any.js.ini | 2 + .../indexeddb/keypath-exceptions.any.js.ini | 2 + .../keypath-special-identifiers.any.js.ini | 2 + tests/wpt/meta/indexeddb/keypath.any.js.ini | 2 + .../meta/indexeddb/keypath_maxsize.any.js.ini | 2 + .../indexeddb/open-request-queue.any.js.ini | 2 + ...transaction-abort-request-error.any.js.ini | 2 + ...transaction-deactivation-timing.any.js.ini | 2 + .../transaction-lifetime-empty.any.js.ini | 2 + .../transaction-requestqueue.any.js.ini | 2 + ...n-scheduling-across-connections.any.js.ini | 2 + ...saction-scheduling-mixed-scopes.any.js.ini | 2 + ...transaction-scheduling-ordering.any.js.ini | 2 + ...tion-scheduling-ro-waits-for-rw.any.js.ini | 2 + ...ransaction-scheduling-rw-scopes.any.js.ini | 2 + ...tion-scheduling-within-database.any.js.ini | 2 + tests/wpt/meta/indexeddb/value.any.js.ini | 2 + .../meta/indexeddb/value_recursive.any.js.ini | 2 + ...r-termination-aborts-upgrade.window.js.ini | 1 - .../indexeddb/writer-starvation.any.js.ini | 2 + 76 files changed, 294 insertions(+), 156 deletions(-) create mode 100644 tests/wpt/meta/indexeddb/idbindex_getAll-options.tentative.any.js.ini create mode 100644 tests/wpt/meta/indexeddb/idbindex_getAllKeys-options.tentative.any.js.ini create mode 100644 tests/wpt/meta/indexeddb/idbobjectstore_getAll-options.tentative.any.js.ini create mode 100644 tests/wpt/meta/indexeddb/idbobjectstore_getAllKeys-options.tentative.any.js.ini diff --git a/components/script/dom/idbrequest.rs b/components/script/dom/idbrequest.rs index eedd6a52902..9c5dfc7c269 100644 --- a/components/script/dom/idbrequest.rs +++ b/components/script/dom/idbrequest.rs @@ -244,8 +244,8 @@ impl IDBRequest { impl IDBRequestMethods for IDBRequest { // https://www.w3.org/TR/IndexedDB-2/#dom-idbrequest-result - fn Result(&self, _cx: SafeJSContext, _val: js::rust::MutableHandle<'_, js::jsapi::Value>) { - self.result.get(); + fn Result(&self, _cx: SafeJSContext, mut val: js::rust::MutableHandle<'_, js::jsapi::Value>) { + val.set(self.result.get()); } // https://www.w3.org/TR/IndexedDB-2/#dom-idbrequest-error diff --git a/tests/wpt/meta/indexeddb/blob-contenttype.any.js.ini b/tests/wpt/meta/indexeddb/blob-contenttype.any.js.ini index c78e6e14af8..c9613804a3b 100644 --- a/tests/wpt/meta/indexeddb/blob-contenttype.any.js.ini +++ b/tests/wpt/meta/indexeddb/blob-contenttype.any.js.ini @@ -1,9 +1,10 @@ [blob-contenttype.any.html] + expected: CRASH [Ensure that content type round trips when reading blob data] expected: FAIL [blob-contenttype.any.worker.html] + expected: CRASH [Ensure that content type round trips when reading blob data] expected: FAIL - diff --git a/tests/wpt/meta/indexeddb/blob-valid-after-deletion.any.js.ini b/tests/wpt/meta/indexeddb/blob-valid-after-deletion.any.js.ini index a576d445bac..9877d63d59f 100644 --- a/tests/wpt/meta/indexeddb/blob-valid-after-deletion.any.js.ini +++ b/tests/wpt/meta/indexeddb/blob-valid-after-deletion.any.js.ini @@ -1,9 +1,10 @@ [blob-valid-after-deletion.any.worker.html] + expected: CRASH [Blobs stay alive after their records are deleted.] expected: FAIL [blob-valid-after-deletion.any.html] + expected: CRASH [Blobs stay alive after their records are deleted.] expected: FAIL - diff --git a/tests/wpt/meta/indexeddb/blob-valid-before-commit.any.js.ini b/tests/wpt/meta/indexeddb/blob-valid-before-commit.any.js.ini index 51b1dcbdcbe..5b9d44a2ac0 100644 --- a/tests/wpt/meta/indexeddb/blob-valid-before-commit.any.js.ini +++ b/tests/wpt/meta/indexeddb/blob-valid-before-commit.any.js.ini @@ -1,9 +1,10 @@ [blob-valid-before-commit.any.worker.html] + expected: CRASH [Blobs can be read back before their records are committed.] expected: FAIL [blob-valid-before-commit.any.html] + expected: CRASH [Blobs can be read back before their records are committed.] expected: FAIL - diff --git a/tests/wpt/meta/indexeddb/clone-before-keypath-eval.any.js.ini b/tests/wpt/meta/indexeddb/clone-before-keypath-eval.any.js.ini index 92bd3deccaa..074951e68d8 100644 --- a/tests/wpt/meta/indexeddb/clone-before-keypath-eval.any.js.ini +++ b/tests/wpt/meta/indexeddb/clone-before-keypath-eval.any.js.ini @@ -2,6 +2,7 @@ expected: ERROR [clone-before-keypath-eval.any.html] + expected: CRASH [Key generator and key path validity check operates on a clone] expected: FAIL @@ -19,6 +20,7 @@ [clone-before-keypath-eval.any.worker.html] + expected: CRASH [Key generator and key path validity check operates on a clone] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/delete-range.any.js.ini b/tests/wpt/meta/indexeddb/delete-range.any.js.ini index c9b31b65e5a..8afe23e040f 100644 --- a/tests/wpt/meta/indexeddb/delete-range.any.js.ini +++ b/tests/wpt/meta/indexeddb/delete-range.any.js.ini @@ -1,4 +1,5 @@ [delete-range.any.worker.html] + expected: CRASH [Delete range] expected: FAIL @@ -13,6 +14,7 @@ [delete-range.any.html] + expected: CRASH [Delete range] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/delete-request-queue.any.js.ini b/tests/wpt/meta/indexeddb/delete-request-queue.any.js.ini index a1781c9fe7b..526a60e8987 100644 --- a/tests/wpt/meta/indexeddb/delete-request-queue.any.js.ini +++ b/tests/wpt/meta/indexeddb/delete-request-queue.any.js.ini @@ -1,12 +1,6 @@ [delete-request-queue.any.worker.html] - [Deletes are processed as a FIFO queue] - expected: FAIL - [delete-request-queue.any.html] - [Deletes are processed as a FIFO queue] - expected: FAIL - [delete-request-queue.any.serviceworker.html] expected: ERROR diff --git a/tests/wpt/meta/indexeddb/error-attributes.any.js.ini b/tests/wpt/meta/indexeddb/error-attributes.any.js.ini index 037ab684424..6f7d9031d2b 100644 --- a/tests/wpt/meta/indexeddb/error-attributes.any.js.ini +++ b/tests/wpt/meta/indexeddb/error-attributes.any.js.ini @@ -1,4 +1,5 @@ [error-attributes.any.worker.html] + expected: CRASH [IDBRequest and IDBTransaction error properties should be DOMExceptions] expected: FAIL @@ -10,5 +11,6 @@ expected: ERROR [error-attributes.any.html] + expected: CRASH [IDBRequest and IDBTransaction error properties should be DOMExceptions] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/event-dispatch-active-flag.any.js.ini b/tests/wpt/meta/indexeddb/event-dispatch-active-flag.any.js.ini index facf154509a..b9a63168211 100644 --- a/tests/wpt/meta/indexeddb/event-dispatch-active-flag.any.js.ini +++ b/tests/wpt/meta/indexeddb/event-dispatch-active-flag.any.js.ini @@ -1,4 +1,5 @@ [event-dispatch-active-flag.any.html] + expected: CRASH [Active during success handlers] expected: FAIL @@ -16,6 +17,7 @@ expected: ERROR [event-dispatch-active-flag.any.worker.html] + expected: CRASH [Active during success handlers] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/fire-error-event-exception.any.js.ini b/tests/wpt/meta/indexeddb/fire-error-event-exception.any.js.ini index 3a8fec89aa6..4312ffda8a6 100644 --- a/tests/wpt/meta/indexeddb/fire-error-event-exception.any.js.ini +++ b/tests/wpt/meta/indexeddb/fire-error-event-exception.any.js.ini @@ -2,6 +2,7 @@ expected: ERROR [fire-error-event-exception.any.worker.html] + expected: CRASH [Exception in error event handler on request] expected: FAIL @@ -55,6 +56,7 @@ [fire-error-event-exception.any.html] + expected: CRASH [Exception in error event handler on request] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/fire-success-event-exception.any.js.ini b/tests/wpt/meta/indexeddb/fire-success-event-exception.any.js.ini index 93189f00405..bf8a991dddd 100644 --- a/tests/wpt/meta/indexeddb/fire-success-event-exception.any.js.ini +++ b/tests/wpt/meta/indexeddb/fire-success-event-exception.any.js.ini @@ -2,6 +2,7 @@ expected: ERROR [fire-success-event-exception.any.worker.html] + expected: CRASH [Exception in success event handler on request] expected: FAIL @@ -22,6 +23,7 @@ [fire-success-event-exception.any.html] + expected: CRASH [Exception in success event handler on request] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idb-binary-key-detached.htm.ini b/tests/wpt/meta/indexeddb/idb-binary-key-detached.htm.ini index 5285613c42d..28645ed367c 100644 --- a/tests/wpt/meta/indexeddb/idb-binary-key-detached.htm.ini +++ b/tests/wpt/meta/indexeddb/idb-binary-key-detached.htm.ini @@ -1,4 +1,5 @@ [idb-binary-key-detached.htm] + expected: CRASH [Detached TypedArray] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idb-partitioned-persistence.sub.html.ini b/tests/wpt/meta/indexeddb/idb-partitioned-persistence.sub.html.ini index 593db5fccfa..4d23a1cf4f5 100644 --- a/tests/wpt/meta/indexeddb/idb-partitioned-persistence.sub.html.ini +++ b/tests/wpt/meta/indexeddb/idb-partitioned-persistence.sub.html.ini @@ -1,4 +1,3 @@ [idb-partitioned-persistence.sub.html] - expected: TIMEOUT [Persistence test for partitioned IndexedDB] - expected: TIMEOUT + expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idb_webworkers.htm.ini b/tests/wpt/meta/indexeddb/idb_webworkers.htm.ini index 6d192f870c8..65344d0b8d7 100644 --- a/tests/wpt/meta/indexeddb/idb_webworkers.htm.ini +++ b/tests/wpt/meta/indexeddb/idb_webworkers.htm.ini @@ -1,4 +1,4 @@ [idb_webworkers.htm] - expected: ERROR + expected: CRASH [IndexedDB inside of a WebWorker ] expected: TIMEOUT diff --git a/tests/wpt/meta/indexeddb/idbcursor-continuePrimaryKey-exceptions.any.js.ini b/tests/wpt/meta/indexeddb/idbcursor-continuePrimaryKey-exceptions.any.js.ini index 17b79220d3a..7933c3d5465 100644 --- a/tests/wpt/meta/indexeddb/idbcursor-continuePrimaryKey-exceptions.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbcursor-continuePrimaryKey-exceptions.any.js.ini @@ -2,19 +2,17 @@ expected: ERROR [idbcursor-continuePrimaryKey-exceptions.any.worker.html] - expected: ERROR [IDBCursor continuePrimaryKey() on object store cursor] expected: FAIL [IDBCursor continuePrimaryKey() on "nextunique" cursor] - expected: TIMEOUT + expected: FAIL [IDBCursor continuePrimaryKey() on "prevunique" cursor] - expected: TIMEOUT + expected: FAIL [idbcursor-continuePrimaryKey-exceptions.any.html] - expected: ERROR [IDBCursor continuePrimaryKey() on object store cursor] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbcursor-direction.any.js.ini b/tests/wpt/meta/indexeddb/idbcursor-direction.any.js.ini index 6e610e0df31..f76b4718697 100644 --- a/tests/wpt/meta/indexeddb/idbcursor-direction.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbcursor-direction.any.js.ini @@ -2,7 +2,7 @@ expected: ERROR [idbcursor-direction.any.worker.html] - expected: ERROR + expected: CRASH [IDBCursor.direction - undefined] expected: FAIL @@ -20,7 +20,7 @@ [idbcursor-direction.any.html] - expected: ERROR + expected: CRASH [IDBCursor.direction - undefined] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbcursor-key.any.js.ini b/tests/wpt/meta/indexeddb/idbcursor-key.any.js.ini index 0e5ebe7dd47..f5abf3c331a 100644 --- a/tests/wpt/meta/indexeddb/idbcursor-key.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbcursor-key.any.js.ini @@ -5,6 +5,7 @@ expected: ERROR [idbcursor-key.any.worker.html] + expected: CRASH [IDBCursor.key] expected: FAIL @@ -16,6 +17,7 @@ [idbcursor-key.any.html] + expected: CRASH [IDBCursor.key] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbcursor_advance_objectstore.any.js.ini b/tests/wpt/meta/indexeddb/idbcursor_advance_objectstore.any.js.ini index d0471163611..05881c32c2d 100644 --- a/tests/wpt/meta/indexeddb/idbcursor_advance_objectstore.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbcursor_advance_objectstore.any.js.ini @@ -1,4 +1,5 @@ [idbcursor_advance_objectstore.any.html] + expected: CRASH [object store - iterate cursor number of times specified by count] expected: FAIL @@ -19,6 +20,7 @@ expected: ERROR [idbcursor_advance_objectstore.any.worker.html] + expected: CRASH [object store - iterate cursor number of times specified by count] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbcursor_continue_objectstore.any.js.ini b/tests/wpt/meta/indexeddb/idbcursor_continue_objectstore.any.js.ini index f98fcedcf36..e2cc2545333 100644 --- a/tests/wpt/meta/indexeddb/idbcursor_continue_objectstore.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbcursor_continue_objectstore.any.js.ini @@ -1,5 +1,5 @@ [idbcursor_continue_objectstore.any.worker.html] - expected: ERROR + expected: CRASH [Iterate to the next record] expected: FAIL @@ -29,7 +29,7 @@ expected: ERROR [idbcursor_continue_objectstore.any.html] - expected: ERROR + expected: CRASH [Iterate to the next record] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbcursor_delete_objectstore.any.js.ini b/tests/wpt/meta/indexeddb/idbcursor_delete_objectstore.any.js.ini index c5707ec472e..a24ec54954b 100644 --- a/tests/wpt/meta/indexeddb/idbcursor_delete_objectstore.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbcursor_delete_objectstore.any.js.ini @@ -2,6 +2,7 @@ expected: ERROR [idbcursor_delete_objectstore.any.worker.html] + expected: CRASH [Remove a record from the object store ] expected: FAIL @@ -19,6 +20,7 @@ [idbcursor_delete_objectstore.any.html] + expected: CRASH [Remove a record from the object store ] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbcursor_iterating.any.js.ini b/tests/wpt/meta/indexeddb/idbcursor_iterating.any.js.ini index 8b5c2699efc..612af397f56 100644 --- a/tests/wpt/meta/indexeddb/idbcursor_iterating.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbcursor_iterating.any.js.ini @@ -2,7 +2,6 @@ expected: ERROR [idbcursor_iterating.any.html] - expected: ERROR [Iterate and Delete elements] expected: FAIL @@ -11,6 +10,5 @@ expected: ERROR [idbcursor_iterating.any.worker.html] - expected: ERROR [Iterate and Delete elements] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbcursor_update_objectstore.any.js.ini b/tests/wpt/meta/indexeddb/idbcursor_update_objectstore.any.js.ini index 878b06b31a7..d90cd1320f1 100644 --- a/tests/wpt/meta/indexeddb/idbcursor_update_objectstore.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbcursor_update_objectstore.any.js.ini @@ -2,6 +2,7 @@ expected: ERROR [idbcursor_update_objectstore.any.worker.html] + expected: CRASH [Modify a record in the object store ] expected: FAIL @@ -31,6 +32,7 @@ [idbcursor_update_objectstore.any.html] + expected: CRASH [Modify a record in the object store ] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbdatabase-transaction-exception-order.any.js.ini b/tests/wpt/meta/indexeddb/idbdatabase-transaction-exception-order.any.js.ini index 91fe6d03373..a3da441faa4 100644 --- a/tests/wpt/meta/indexeddb/idbdatabase-transaction-exception-order.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbdatabase-transaction-exception-order.any.js.ini @@ -5,22 +5,16 @@ expected: ERROR [idbdatabase-transaction-exception-order.any.html] - [IDBDatabase.transaction exception order: InvalidStateError vs. NotFoundError] - expected: FAIL - - [IDBDatabase.transaction exception order: InvalidStateError vs. InvalidAccessError] - expected: FAIL - [IDBDatabase.transaction exception order: NotFoundError vs. TypeError] expected: FAIL + [IDBDatabase.transaction throws exception on invalid mode] + expected: FAIL + [idbdatabase-transaction-exception-order.any.worker.html] - [IDBDatabase.transaction exception order: InvalidStateError vs. NotFoundError] - expected: FAIL - - [IDBDatabase.transaction exception order: InvalidStateError vs. InvalidAccessError] - expected: FAIL - [IDBDatabase.transaction exception order: NotFoundError vs. TypeError] expected: FAIL + + [IDBDatabase.transaction throws exception on invalid mode] + expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbdatabase_createObjectStore.any.js.ini b/tests/wpt/meta/indexeddb/idbdatabase_createObjectStore.any.js.ini index 404cab9984e..d7572b4d4a7 100644 --- a/tests/wpt/meta/indexeddb/idbdatabase_createObjectStore.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbdatabase_createObjectStore.any.js.ini @@ -1,4 +1,5 @@ [idbdatabase_createObjectStore.any.worker.html] + expected: CRASH [Both with empty name] expected: FAIL @@ -88,6 +89,7 @@ expected: ERROR [idbdatabase_createObjectStore.any.html] + expected: CRASH [Both with empty name] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbdatabase_deleteObjectStore.any.js.ini b/tests/wpt/meta/indexeddb/idbdatabase_deleteObjectStore.any.js.ini index 56c8cb2cd10..002cdba716d 100644 --- a/tests/wpt/meta/indexeddb/idbdatabase_deleteObjectStore.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbdatabase_deleteObjectStore.any.js.ini @@ -2,6 +2,7 @@ expected: ERROR [idbdatabase_deleteObjectStore.any.worker.html] + expected: CRASH [Deleted object store's name should be removed from database's list. Attempting to use a deleted IDBObjectStore should throw an InvalidStateError] expected: FAIL @@ -16,6 +17,7 @@ expected: ERROR [idbdatabase_deleteObjectStore.any.html] + expected: CRASH [Deleted object store's name should be removed from database's list. Attempting to use a deleted IDBObjectStore should throw an InvalidStateError] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbdatabase_transaction.any.js.ini b/tests/wpt/meta/indexeddb/idbdatabase_transaction.any.js.ini index 51665eda9e0..5c3cf3d0678 100644 --- a/tests/wpt/meta/indexeddb/idbdatabase_transaction.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbdatabase_transaction.any.js.ini @@ -5,15 +5,6 @@ [Attempt to open a transaction with invalid scope] expected: FAIL - [Opening a transaction defaults to a read-only mode] - expected: FAIL - - [Attempt to open a transaction from closed database connection] - expected: FAIL - - [Attempt to open a transaction with invalid mode] - expected: FAIL - [If storeNames is an empty list, the implementation must throw a DOMException of type InvalidAccessError] expected: FAIL @@ -25,14 +16,5 @@ [Attempt to open a transaction with invalid scope] expected: FAIL - [Opening a transaction defaults to a read-only mode] - expected: FAIL - - [Attempt to open a transaction from closed database connection] - expected: FAIL - - [Attempt to open a transaction with invalid mode] - expected: FAIL - [If storeNames is an empty list, the implementation must throw a DOMException of type InvalidAccessError] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbfactory_deleteDatabase.any.js.ini b/tests/wpt/meta/indexeddb/idbfactory_deleteDatabase.any.js.ini index 293236541f0..7c6f522082a 100644 --- a/tests/wpt/meta/indexeddb/idbfactory_deleteDatabase.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbfactory_deleteDatabase.any.js.ini @@ -2,32 +2,14 @@ expected: ERROR [idbfactory_deleteDatabase.any.html] - [deleteDatabase() request should have no source] - expected: FAIL - - [Result of the deleteDatabase() request is set to undefined.] - expected: FAIL - [The deleteDatabase() request's success event is an IDBVersionChangeEvent.] expected: FAIL - [Delete an existing database - Test events opening a second database when one connection is open already] - expected: FAIL - [idbfactory_deleteDatabase.any.worker.html] - [deleteDatabase() request should have no source] - expected: FAIL - - [Result of the deleteDatabase() request is set to undefined.] - expected: FAIL - [The deleteDatabase() request's success event is an IDBVersionChangeEvent.] expected: FAIL - [Delete an existing database - Test events opening a second database when one connection is open already] - expected: FAIL - [idbfactory_deleteDatabase.any.sharedworker.html] expected: ERROR diff --git a/tests/wpt/meta/indexeddb/idbfactory_open.any.js.ini b/tests/wpt/meta/indexeddb/idbfactory_open.any.js.ini index af710aae75e..7ae1ad98715 100644 --- a/tests/wpt/meta/indexeddb/idbfactory_open.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbfactory_open.any.js.ini @@ -2,21 +2,9 @@ expected: ERROR [idbfactory_open.any.html] - [IDBFactory.open() - database 'name' and 'version' are correctly set] - expected: FAIL - [IDBFactory.open() - no version opens current database] expected: FAIL - [IDBFactory.open() - new database has default version] - expected: FAIL - - [IDBFactory.open() - new database is empty] - expected: FAIL - - [IDBFactory.open() - open database with a lower version than current] - expected: FAIL - [IDBFactory.open() - open database with a higher version than current] expected: FAIL @@ -43,21 +31,9 @@ expected: ERROR [idbfactory_open.any.worker.html] - [IDBFactory.open() - database 'name' and 'version' are correctly set] - expected: FAIL - [IDBFactory.open() - no version opens current database] expected: FAIL - [IDBFactory.open() - new database has default version] - expected: FAIL - - [IDBFactory.open() - new database is empty] - expected: FAIL - - [IDBFactory.open() - open database with a lower version than current] - expected: FAIL - [IDBFactory.open() - open database with a higher version than current] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbindex_getAll-options.tentative.any.js.ini b/tests/wpt/meta/indexeddb/idbindex_getAll-options.tentative.any.js.ini new file mode 100644 index 00000000000..7985cf4fbe5 --- /dev/null +++ b/tests/wpt/meta/indexeddb/idbindex_getAll-options.tentative.any.js.ini @@ -0,0 +1,46 @@ +[idbindex_getAll-options.tentative.any.serviceworker.html] + expected: ERROR + +[idbindex_getAll-options.tentative.any.worker.html] + expected: ERROR + [Single item get] + expected: FAIL + + [Empty object store] + expected: FAIL + + [Get all] + expected: FAIL + + [Get all with generated keys] + expected: FAIL + + [Get all with large values] + expected: FAIL + + [maxCount=10] + expected: FAIL + + +[idbindex_getAll-options.tentative.any.sharedworker.html] + expected: ERROR + +[idbindex_getAll-options.tentative.any.html] + expected: ERROR + [Single item get] + expected: FAIL + + [Empty object store] + expected: FAIL + + [Get all] + expected: FAIL + + [Get all with generated keys] + expected: FAIL + + [Get all with large values] + expected: FAIL + + [maxCount=10] + expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbindex_getAllKeys-options.tentative.any.js.ini b/tests/wpt/meta/indexeddb/idbindex_getAllKeys-options.tentative.any.js.ini new file mode 100644 index 00000000000..6b706069359 --- /dev/null +++ b/tests/wpt/meta/indexeddb/idbindex_getAllKeys-options.tentative.any.js.ini @@ -0,0 +1,41 @@ +[idbindex_getAllKeys-options.tentative.any.worker.html] + expected: ERROR + [Single item get] + expected: FAIL + + [Empty object store] + expected: FAIL + + [Get all keys] + expected: FAIL + + [Get all generated keys] + expected: FAIL + + [maxCount=10] + expected: FAIL + + +[idbindex_getAllKeys-options.tentative.any.sharedworker.html] + expected: ERROR + +[idbindex_getAllKeys-options.tentative.any.html] + expected: ERROR + [Single item get] + expected: FAIL + + [Empty object store] + expected: FAIL + + [Get all keys] + expected: FAIL + + [Get all generated keys] + expected: FAIL + + [maxCount=10] + expected: FAIL + + +[idbindex_getAllKeys-options.tentative.any.serviceworker.html] + expected: ERROR diff --git a/tests/wpt/meta/indexeddb/idbobjectstore-add-put-exception-order.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore-add-put-exception-order.any.js.ini index 1093334062e..64b43597a3c 100644 --- a/tests/wpt/meta/indexeddb/idbobjectstore-add-put-exception-order.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbobjectstore-add-put-exception-order.any.js.ini @@ -9,18 +9,12 @@ [IDBObjectStore.put exception order: TransactionInactiveError vs. ReadOnlyError] expected: FAIL - [IDBObjectStore.put exception order: ReadOnlyError vs. DataError] - expected: FAIL - [IDBObjectStore.add exception order: InvalidStateError vs. TransactionInactiveError] expected: TIMEOUT [IDBObjectStore.add exception order: TransactionInactiveError vs. ReadOnlyError] expected: FAIL - [IDBObjectStore.add exception order: ReadOnlyError vs. DataError] - expected: FAIL - [idbobjectstore-add-put-exception-order.any.html] expected: TIMEOUT @@ -30,18 +24,12 @@ [IDBObjectStore.put exception order: TransactionInactiveError vs. ReadOnlyError] expected: FAIL - [IDBObjectStore.put exception order: ReadOnlyError vs. DataError] - expected: FAIL - [IDBObjectStore.add exception order: InvalidStateError vs. TransactionInactiveError] expected: TIMEOUT [IDBObjectStore.add exception order: TransactionInactiveError vs. ReadOnlyError] expected: FAIL - [IDBObjectStore.add exception order: ReadOnlyError vs. DataError] - expected: FAIL - [idbobjectstore-add-put-exception-order.any.sharedworker.html] expected: ERROR diff --git a/tests/wpt/meta/indexeddb/idbobjectstore-clear-exception-order.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore-clear-exception-order.any.js.ini index 65c047411c8..bc269d705d3 100644 --- a/tests/wpt/meta/indexeddb/idbobjectstore-clear-exception-order.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbobjectstore-clear-exception-order.any.js.ini @@ -1,5 +1,5 @@ [idbobjectstore-clear-exception-order.any.worker.html] - expected: TIMEOUT + expected: CRASH [IDBObjectStore.clear exception order: InvalidStateError vs. TransactionInactiveError] expected: TIMEOUT @@ -8,7 +8,7 @@ [idbobjectstore-clear-exception-order.any.html] - expected: TIMEOUT + expected: CRASH [IDBObjectStore.clear exception order: InvalidStateError vs. TransactionInactiveError] expected: TIMEOUT diff --git a/tests/wpt/meta/indexeddb/idbobjectstore-delete-exception-order.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore-delete-exception-order.any.js.ini index bdcd072b150..aba11542fae 100644 --- a/tests/wpt/meta/indexeddb/idbobjectstore-delete-exception-order.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbobjectstore-delete-exception-order.any.js.ini @@ -5,7 +5,7 @@ expected: ERROR [idbobjectstore-delete-exception-order.any.html] - expected: TIMEOUT + expected: CRASH [IDBObjectStore.delete exception order: InvalidStateError vs. TransactionInactiveError] expected: TIMEOUT @@ -17,7 +17,7 @@ [idbobjectstore-delete-exception-order.any.worker.html] - expected: TIMEOUT + expected: CRASH [IDBObjectStore.delete exception order: InvalidStateError vs. TransactionInactiveError] expected: TIMEOUT diff --git a/tests/wpt/meta/indexeddb/idbobjectstore-getAll-enforcerange.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore-getAll-enforcerange.any.js.ini index 0c6e9231888..8ba1fca027b 100644 --- a/tests/wpt/meta/indexeddb/idbobjectstore-getAll-enforcerange.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbobjectstore-getAll-enforcerange.any.js.ini @@ -1,15 +1,9 @@ [idbobjectstore-getAll-enforcerange.any.html] - [IDBObjectStore.getAll() uses [EnforceRange\]] - expected: FAIL - [idbobjectstore-getAll-enforcerange.any.sharedworker.html] expected: ERROR [idbobjectstore-getAll-enforcerange.any.worker.html] - [IDBObjectStore.getAll() uses [EnforceRange\]] - expected: FAIL - [idbobjectstore-getAll-enforcerange.any.serviceworker.html] expected: ERROR diff --git a/tests/wpt/meta/indexeddb/idbobjectstore-getAllKeys-enforcerange.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore-getAllKeys-enforcerange.any.js.ini index 9fac0458320..2f3dedc9611 100644 --- a/tests/wpt/meta/indexeddb/idbobjectstore-getAllKeys-enforcerange.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbobjectstore-getAllKeys-enforcerange.any.js.ini @@ -5,10 +5,5 @@ expected: ERROR [idbobjectstore-getAllKeys-enforcerange.any.html] - [IDBObjectStore.getAllKeys() uses [EnforceRange\]] - expected: FAIL - [idbobjectstore-getAllKeys-enforcerange.any.worker.html] - [IDBObjectStore.getAllKeys() uses [EnforceRange\]] - expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbobjectstore-request-source.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore-request-source.any.js.ini index eaffe286fbf..03e0d1e0a91 100644 --- a/tests/wpt/meta/indexeddb/idbobjectstore-request-source.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbobjectstore-request-source.any.js.ini @@ -1,4 +1,5 @@ [idbobjectstore-request-source.any.worker.html] + expected: CRASH [The source of the request from store => store.put(0) is the object store itself] expected: FAIL @@ -40,6 +41,7 @@ expected: ERROR [idbobjectstore-request-source.any.html] + expected: CRASH [The source of the request from store => store.put(0) is the object store itself] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbobjectstore-transaction-SameObject.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore-transaction-SameObject.any.js.ini index bb1460af820..9434d992b02 100644 --- a/tests/wpt/meta/indexeddb/idbobjectstore-transaction-SameObject.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbobjectstore-transaction-SameObject.any.js.ini @@ -5,10 +5,5 @@ expected: ERROR [idbobjectstore-transaction-SameObject.any.worker.html] - [IDBObjectStore.transaction [SameObject\]] - expected: FAIL - [idbobjectstore-transaction-SameObject.any.html] - [IDBObjectStore.transaction [SameObject\]] - expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbobjectstore_add.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore_add.any.js.ini index a653219564d..326089fe0d8 100644 --- a/tests/wpt/meta/indexeddb/idbobjectstore_add.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbobjectstore_add.any.js.ini @@ -5,6 +5,7 @@ expected: ERROR [idbobjectstore_add.any.worker.html] + expected: CRASH [add() with an inline key] expected: FAIL @@ -55,6 +56,7 @@ [idbobjectstore_add.any.html] + expected: CRASH [add() with an inline key] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbobjectstore_clear.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore_clear.any.js.ini index c9e2c0c122f..25df46ec8ce 100644 --- a/tests/wpt/meta/indexeddb/idbobjectstore_clear.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbobjectstore_clear.any.js.ini @@ -1,4 +1,5 @@ [idbobjectstore_clear.any.worker.html] + expected: CRASH [Verify clear removes all records ] expected: FAIL @@ -19,6 +20,7 @@ expected: ERROR [idbobjectstore_clear.any.html] + expected: CRASH [Verify clear removes all records ] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbobjectstore_count.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore_count.any.js.ini index eca5720c112..ee06dfbdb0f 100644 --- a/tests/wpt/meta/indexeddb/idbobjectstore_count.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbobjectstore_count.any.js.ini @@ -1,4 +1,5 @@ [idbobjectstore_count.any.html] + expected: CRASH [Returns the number of records in the object store ] expected: FAIL @@ -19,6 +20,7 @@ expected: ERROR [idbobjectstore_count.any.worker.html] + expected: CRASH [Returns the number of records in the object store ] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbobjectstore_createIndex.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore_createIndex.any.js.ini index 4a7f8beb379..d52fde5a200 100644 --- a/tests/wpt/meta/indexeddb/idbobjectstore_createIndex.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbobjectstore_createIndex.any.js.ini @@ -1,5 +1,5 @@ [idbobjectstore_createIndex.any.html] - expected: TIMEOUT + expected: CRASH [Returns an IDBIndex and the properties are set correctly] expected: FAIL @@ -68,7 +68,7 @@ expected: ERROR [idbobjectstore_createIndex.any.worker.html] - expected: TIMEOUT + expected: CRASH [Returns an IDBIndex and the properties are set correctly] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbobjectstore_delete.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore_delete.any.js.ini index 60425209214..9da59365b31 100644 --- a/tests/wpt/meta/indexeddb/idbobjectstore_delete.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbobjectstore_delete.any.js.ini @@ -2,6 +2,7 @@ expected: ERROR [idbobjectstore_delete.any.html] + expected: CRASH [delete() removes record (inline keys)] expected: FAIL @@ -25,6 +26,7 @@ [idbobjectstore_delete.any.worker.html] + expected: CRASH [delete() removes record (inline keys)] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbobjectstore_get.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore_get.any.js.ini index c4321d3a394..b56b866ee72 100644 --- a/tests/wpt/meta/indexeddb/idbobjectstore_get.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbobjectstore_get.any.js.ini @@ -1,4 +1,5 @@ [idbobjectstore_get.any.worker.html] + expected: CRASH [Key is a number] expected: FAIL @@ -25,6 +26,7 @@ expected: ERROR [idbobjectstore_get.any.html] + expected: CRASH [Key is a number] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbobjectstore_getAll-options.tentative.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore_getAll-options.tentative.any.js.ini new file mode 100644 index 00000000000..6105e614cfc --- /dev/null +++ b/tests/wpt/meta/indexeddb/idbobjectstore_getAll-options.tentative.any.js.ini @@ -0,0 +1,46 @@ +[idbobjectstore_getAll-options.tentative.any.sharedworker.html] + expected: ERROR + +[idbobjectstore_getAll-options.tentative.any.worker.html] + expected: ERROR + [Single item get] + expected: FAIL + + [Single item get (generated key)] + expected: FAIL + + [getAll on empty object store] + expected: FAIL + + [Get all values] + expected: FAIL + + [Get all with large values] + expected: FAIL + + [Test maxCount] + expected: FAIL + + +[idbobjectstore_getAll-options.tentative.any.serviceworker.html] + expected: ERROR + +[idbobjectstore_getAll-options.tentative.any.html] + expected: ERROR + [Single item get] + expected: FAIL + + [Single item get (generated key)] + expected: FAIL + + [getAll on empty object store] + expected: FAIL + + [Get all values] + expected: FAIL + + [Get all with large values] + expected: FAIL + + [Test maxCount] + expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbobjectstore_getAllKeys-options.tentative.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore_getAllKeys-options.tentative.any.js.ini new file mode 100644 index 00000000000..2740396ca1d --- /dev/null +++ b/tests/wpt/meta/indexeddb/idbobjectstore_getAllKeys-options.tentative.any.js.ini @@ -0,0 +1,40 @@ +[idbobjectstore_getAllKeys-options.tentative.any.html] + expected: ERROR + [Single item get] + expected: FAIL + + [Single item get (generated key)] + expected: FAIL + + [getAllKeys on empty object store] + expected: FAIL + + [Get all keys] + expected: FAIL + + [Test maxCount] + expected: FAIL + + +[idbobjectstore_getAllKeys-options.tentative.any.sharedworker.html] + expected: ERROR + +[idbobjectstore_getAllKeys-options.tentative.any.serviceworker.html] + expected: ERROR + +[idbobjectstore_getAllKeys-options.tentative.any.worker.html] + expected: ERROR + [Single item get] + expected: FAIL + + [Single item get (generated key)] + expected: FAIL + + [getAllKeys on empty object store] + expected: FAIL + + [Get all keys] + expected: FAIL + + [Test maxCount] + expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbobjectstore_openCursor.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore_openCursor.any.js.ini index 8985f3b97f0..d2c344b4b56 100644 --- a/tests/wpt/meta/indexeddb/idbobjectstore_openCursor.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbobjectstore_openCursor.any.js.ini @@ -1,4 +1,5 @@ [idbobjectstore_openCursor.any.html] + expected: CRASH [IDBObjectStore.openCursor() - iterate through 100 objects] expected: FAIL @@ -10,5 +11,6 @@ expected: ERROR [idbobjectstore_openCursor.any.worker.html] + expected: CRASH [IDBObjectStore.openCursor() - iterate through 100 objects] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbobjectstore_put.any.js.ini b/tests/wpt/meta/indexeddb/idbobjectstore_put.any.js.ini index 9cda8f94cab..989747bfe83 100644 --- a/tests/wpt/meta/indexeddb/idbobjectstore_put.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbobjectstore_put.any.js.ini @@ -1,4 +1,5 @@ [idbobjectstore_put.any.html] + expected: CRASH [put() with an inline key] expected: FAIL @@ -55,6 +56,7 @@ expected: ERROR [idbobjectstore_put.any.worker.html] + expected: CRASH [put() with an inline key] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbtransaction-db-SameObject.any.js.ini b/tests/wpt/meta/indexeddb/idbtransaction-db-SameObject.any.js.ini index c51c80894dd..c35b2d02755 100644 --- a/tests/wpt/meta/indexeddb/idbtransaction-db-SameObject.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbtransaction-db-SameObject.any.js.ini @@ -1,15 +1,9 @@ [idbtransaction-db-SameObject.any.html] - [IDBTransaction.db [SameObject\]] - expected: FAIL - [idbtransaction-db-SameObject.any.serviceworker.html] expected: ERROR [idbtransaction-db-SameObject.any.worker.html] - [IDBTransaction.db [SameObject\]] - expected: FAIL - [idbtransaction-db-SameObject.any.sharedworker.html] expected: ERROR diff --git a/tests/wpt/meta/indexeddb/idbtransaction-objectStore-exception-order.any.js.ini b/tests/wpt/meta/indexeddb/idbtransaction-objectStore-exception-order.any.js.ini index ac9cf330e96..6c9cfb3cc98 100644 --- a/tests/wpt/meta/indexeddb/idbtransaction-objectStore-exception-order.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbtransaction-objectStore-exception-order.any.js.ini @@ -1,11 +1,13 @@ [idbtransaction-objectStore-exception-order.any.html] + expected: TIMEOUT [IDBTransaction.objectStore exception order: InvalidStateError vs. NotFoundError] - expected: FAIL + expected: TIMEOUT [idbtransaction-objectStore-exception-order.any.worker.html] + expected: TIMEOUT [IDBTransaction.objectStore exception order: InvalidStateError vs. NotFoundError] - expected: FAIL + expected: TIMEOUT [idbtransaction-objectStore-exception-order.any.sharedworker.html] diff --git a/tests/wpt/meta/indexeddb/idbtransaction.any.js.ini b/tests/wpt/meta/indexeddb/idbtransaction.any.js.ini index ddea8c84e9b..396830dbbb2 100644 --- a/tests/wpt/meta/indexeddb/idbtransaction.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbtransaction.any.js.ini @@ -5,10 +5,5 @@ expected: ERROR [idbtransaction.any.worker.html] - expected: ERROR - [IDBTransaction - request returned by open()] - expected: TIMEOUT - [idbtransaction.any.html] - expected: ERROR diff --git a/tests/wpt/meta/indexeddb/idbtransaction_abort.any.js.ini b/tests/wpt/meta/indexeddb/idbtransaction_abort.any.js.ini index 4f5fd963d62..b69678bfb8e 100644 --- a/tests/wpt/meta/indexeddb/idbtransaction_abort.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbtransaction_abort.any.js.ini @@ -5,6 +5,7 @@ expected: ERROR [idbtransaction_abort.any.worker.html] + expected: CRASH [Abort event should fire during transaction] expected: FAIL @@ -16,6 +17,7 @@ [idbtransaction_abort.any.html] + expected: CRASH [Abort event should fire during transaction] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/idbtransaction_objectStoreNames.any.js.ini b/tests/wpt/meta/indexeddb/idbtransaction_objectStoreNames.any.js.ini index 20f3d3906c5..f8f83dec027 100644 --- a/tests/wpt/meta/indexeddb/idbtransaction_objectStoreNames.any.js.ini +++ b/tests/wpt/meta/indexeddb/idbtransaction_objectStoreNames.any.js.ini @@ -5,6 +5,7 @@ expected: ERROR [idbtransaction_objectStoreNames.any.html] + expected: CRASH [IDBTransaction.objectStoreNames - value after close] expected: FAIL @@ -28,6 +29,7 @@ [idbtransaction_objectStoreNames.any.worker.html] + expected: CRASH [IDBTransaction.objectStoreNames - value after close] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/key-conversion-exceptions.any.js.ini b/tests/wpt/meta/indexeddb/key-conversion-exceptions.any.js.ini index c7dd7662732..d540907a8a6 100644 --- a/tests/wpt/meta/indexeddb/key-conversion-exceptions.any.js.ini +++ b/tests/wpt/meta/indexeddb/key-conversion-exceptions.any.js.ini @@ -14,12 +14,6 @@ [IDBKeyRange bound() static with throwing/invalid keys] expected: FAIL - [IDBObjectStore getAllRecords() method with throwing/invalid keys] - expected: FAIL - - [IDBIndex getAllRecords() method with throwing/invalid keys] - expected: FAIL - [key-conversion-exceptions.any.sharedworker.html] expected: ERROR @@ -40,12 +34,6 @@ [IDBKeyRange bound() static with throwing/invalid keys] expected: FAIL - [IDBObjectStore getAllRecords() method with throwing/invalid keys] - expected: FAIL - - [IDBIndex getAllRecords() method with throwing/invalid keys] - expected: FAIL - [key-conversion-exceptions.any.serviceworker.html] expected: ERROR diff --git a/tests/wpt/meta/indexeddb/key_invalid.any.js.ini b/tests/wpt/meta/indexeddb/key_invalid.any.js.ini index 4b1a368e094..fb5a334cad4 100644 --- a/tests/wpt/meta/indexeddb/key_invalid.any.js.ini +++ b/tests/wpt/meta/indexeddb/key_invalid.any.js.ini @@ -2,6 +2,7 @@ expected: ERROR [key_invalid.any.html] + expected: CRASH [Invalid key - true] expected: FAIL @@ -112,6 +113,7 @@ expected: ERROR [key_invalid.any.worker.html] + expected: CRASH [Invalid key - true] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/key_valid.any.js.ini b/tests/wpt/meta/indexeddb/key_valid.any.js.ini index ce0ec7d924d..29f131eb60d 100644 --- a/tests/wpt/meta/indexeddb/key_valid.any.js.ini +++ b/tests/wpt/meta/indexeddb/key_valid.any.js.ini @@ -1,4 +1,5 @@ [key_valid.any.html] + expected: CRASH [Valid key - new Date()] expected: FAIL @@ -61,6 +62,7 @@ expected: ERROR [key_valid.any.worker.html] + expected: CRASH [Valid key - new Date()] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/keygenerator.any.js.ini b/tests/wpt/meta/indexeddb/keygenerator.any.js.ini index a261fc67c0e..a6526a732c5 100644 --- a/tests/wpt/meta/indexeddb/keygenerator.any.js.ini +++ b/tests/wpt/meta/indexeddb/keygenerator.any.js.ini @@ -1,4 +1,5 @@ [keygenerator.any.worker.html] + expected: CRASH [Keygenerator - starts at one, and increments by one] expected: FAIL @@ -64,6 +65,7 @@ [keygenerator.any.html] + expected: CRASH [Keygenerator - starts at one, and increments by one] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/keyorder.any.js.ini b/tests/wpt/meta/indexeddb/keyorder.any.js.ini index 6e96b0ebbbb..a6bfed74b7b 100644 --- a/tests/wpt/meta/indexeddb/keyorder.any.js.ini +++ b/tests/wpt/meta/indexeddb/keyorder.any.js.ini @@ -2,6 +2,7 @@ expected: ERROR [keyorder.any.worker.html] + expected: CRASH [Database readback sort - String < Array] expected: FAIL @@ -76,6 +77,7 @@ [keyorder.any.html] + expected: CRASH [Database readback sort - String < Array] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/keypath-exceptions.any.js.ini b/tests/wpt/meta/indexeddb/keypath-exceptions.any.js.ini index c92abb71037..96050fcfa66 100644 --- a/tests/wpt/meta/indexeddb/keypath-exceptions.any.js.ini +++ b/tests/wpt/meta/indexeddb/keypath-exceptions.any.js.ini @@ -2,6 +2,7 @@ expected: ERROR [keypath-exceptions.any.html] + expected: CRASH [The last element of keypath is validated] expected: FAIL @@ -10,6 +11,7 @@ [keypath-exceptions.any.worker.html] + expected: CRASH [The last element of keypath is validated] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/keypath-special-identifiers.any.js.ini b/tests/wpt/meta/indexeddb/keypath-special-identifiers.any.js.ini index d6dc0cbe73f..d0eaf2698eb 100644 --- a/tests/wpt/meta/indexeddb/keypath-special-identifiers.any.js.ini +++ b/tests/wpt/meta/indexeddb/keypath-special-identifiers.any.js.ini @@ -5,6 +5,7 @@ expected: ERROR [keypath-special-identifiers.any.worker.html] + expected: CRASH [Type: String, identifier: length] expected: FAIL @@ -25,6 +26,7 @@ [keypath-special-identifiers.any.html] + expected: CRASH [Type: String, identifier: length] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/keypath.any.js.ini b/tests/wpt/meta/indexeddb/keypath.any.js.ini index 94a217357f5..4625ef7e4a8 100644 --- a/tests/wpt/meta/indexeddb/keypath.any.js.ini +++ b/tests/wpt/meta/indexeddb/keypath.any.js.ini @@ -1,4 +1,5 @@ [keypath.any.html] + expected: CRASH [undefined - my.key] expected: FAIL @@ -67,6 +68,7 @@ expected: ERROR [keypath.any.worker.html] + expected: CRASH [undefined - my.key] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/keypath_maxsize.any.js.ini b/tests/wpt/meta/indexeddb/keypath_maxsize.any.js.ini index ad0668f73be..80bc26eed20 100644 --- a/tests/wpt/meta/indexeddb/keypath_maxsize.any.js.ini +++ b/tests/wpt/meta/indexeddb/keypath_maxsize.any.js.ini @@ -2,6 +2,7 @@ expected: ERROR [keypath_maxsize.any.worker.html] + expected: CRASH [undefined - ~260 chars] expected: FAIL @@ -16,6 +17,7 @@ expected: ERROR [keypath_maxsize.any.html] + expected: CRASH [undefined - ~260 chars] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/open-request-queue.any.js.ini b/tests/wpt/meta/indexeddb/open-request-queue.any.js.ini index 01c657933fb..b6096d81d2f 100644 --- a/tests/wpt/meta/indexeddb/open-request-queue.any.js.ini +++ b/tests/wpt/meta/indexeddb/open-request-queue.any.js.ini @@ -2,6 +2,7 @@ expected: ERROR [open-request-queue.any.html] + expected: CRASH [IndexedDB: open and delete requests are processed as a FIFO queue] expected: FAIL @@ -10,5 +11,6 @@ expected: ERROR [open-request-queue.any.worker.html] + expected: CRASH [IndexedDB: open and delete requests are processed as a FIFO queue] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/transaction-abort-request-error.any.js.ini b/tests/wpt/meta/indexeddb/transaction-abort-request-error.any.js.ini index 094b17a721b..7eaee68ea97 100644 --- a/tests/wpt/meta/indexeddb/transaction-abort-request-error.any.js.ini +++ b/tests/wpt/meta/indexeddb/transaction-abort-request-error.any.js.ini @@ -1,4 +1,5 @@ [transaction-abort-request-error.any.worker.html] + expected: CRASH [Properties of error events fired at requests when aborting a transaction] expected: FAIL @@ -7,6 +8,7 @@ expected: ERROR [transaction-abort-request-error.any.html] + expected: CRASH [Properties of error events fired at requests when aborting a transaction] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/transaction-deactivation-timing.any.js.ini b/tests/wpt/meta/indexeddb/transaction-deactivation-timing.any.js.ini index 8de17c31cfd..1bd795e68dd 100644 --- a/tests/wpt/meta/indexeddb/transaction-deactivation-timing.any.js.ini +++ b/tests/wpt/meta/indexeddb/transaction-deactivation-timing.any.js.ini @@ -5,6 +5,7 @@ expected: ERROR [transaction-deactivation-timing.any.html] + expected: CRASH [New transactions are deactivated before next task] expected: FAIL @@ -22,6 +23,7 @@ [transaction-deactivation-timing.any.worker.html] + expected: CRASH [New transactions are deactivated before next task] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/transaction-lifetime-empty.any.js.ini b/tests/wpt/meta/indexeddb/transaction-lifetime-empty.any.js.ini index 14993aeb1c6..efb7f96c278 100644 --- a/tests/wpt/meta/indexeddb/transaction-lifetime-empty.any.js.ini +++ b/tests/wpt/meta/indexeddb/transaction-lifetime-empty.any.js.ini @@ -5,6 +5,7 @@ expected: ERROR [transaction-lifetime-empty.any.worker.html] + expected: CRASH [Transactions without requests complete in the expected order] expected: FAIL @@ -13,6 +14,7 @@ [transaction-lifetime-empty.any.html] + expected: CRASH [Transactions without requests complete in the expected order] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/transaction-requestqueue.any.js.ini b/tests/wpt/meta/indexeddb/transaction-requestqueue.any.js.ini index 9df741da876..4b71a413446 100644 --- a/tests/wpt/meta/indexeddb/transaction-requestqueue.any.js.ini +++ b/tests/wpt/meta/indexeddb/transaction-requestqueue.any.js.ini @@ -2,6 +2,7 @@ expected: ERROR [transaction-requestqueue.any.html] + expected: CRASH [Transactions have a request queue] expected: FAIL @@ -10,5 +11,6 @@ expected: ERROR [transaction-requestqueue.any.worker.html] + expected: CRASH [Transactions have a request queue] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/transaction-scheduling-across-connections.any.js.ini b/tests/wpt/meta/indexeddb/transaction-scheduling-across-connections.any.js.ini index fe676ced0b6..e3ec646fde6 100644 --- a/tests/wpt/meta/indexeddb/transaction-scheduling-across-connections.any.js.ini +++ b/tests/wpt/meta/indexeddb/transaction-scheduling-across-connections.any.js.ini @@ -1,8 +1,10 @@ [transaction-scheduling-across-connections.any.worker.html] + expected: CRASH [Check that readwrite transactions with overlapping scopes do not run in parallel.] expected: FAIL [transaction-scheduling-across-connections.any.html] + expected: CRASH [Check that readwrite transactions with overlapping scopes do not run in parallel.] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/transaction-scheduling-mixed-scopes.any.js.ini b/tests/wpt/meta/indexeddb/transaction-scheduling-mixed-scopes.any.js.ini index 6480929bfb6..f1f46419b3c 100644 --- a/tests/wpt/meta/indexeddb/transaction-scheduling-mixed-scopes.any.js.ini +++ b/tests/wpt/meta/indexeddb/transaction-scheduling-mixed-scopes.any.js.ini @@ -1,8 +1,10 @@ [transaction-scheduling-mixed-scopes.any.html] + expected: CRASH [Check that scope restrictions on mixed transactions are enforced.] expected: FAIL [transaction-scheduling-mixed-scopes.any.worker.html] + expected: CRASH [Check that scope restrictions on mixed transactions are enforced.] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/transaction-scheduling-ordering.any.js.ini b/tests/wpt/meta/indexeddb/transaction-scheduling-ordering.any.js.ini index 1144c01feeb..9b79ce12efc 100644 --- a/tests/wpt/meta/indexeddb/transaction-scheduling-ordering.any.js.ini +++ b/tests/wpt/meta/indexeddb/transaction-scheduling-ordering.any.js.ini @@ -1,8 +1,10 @@ [transaction-scheduling-ordering.any.html] + expected: CRASH [Verify Indexed DB transactions are ordered per spec] expected: FAIL [transaction-scheduling-ordering.any.worker.html] + expected: CRASH [Verify Indexed DB transactions are ordered per spec] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/transaction-scheduling-ro-waits-for-rw.any.js.ini b/tests/wpt/meta/indexeddb/transaction-scheduling-ro-waits-for-rw.any.js.ini index 88353175476..b13bbd3bb46 100644 --- a/tests/wpt/meta/indexeddb/transaction-scheduling-ro-waits-for-rw.any.js.ini +++ b/tests/wpt/meta/indexeddb/transaction-scheduling-ro-waits-for-rw.any.js.ini @@ -1,8 +1,10 @@ [transaction-scheduling-ro-waits-for-rw.any.html] + expected: CRASH [readonly transaction should see the result of a previous readwrite transaction] expected: FAIL [transaction-scheduling-ro-waits-for-rw.any.worker.html] + expected: CRASH [readonly transaction should see the result of a previous readwrite transaction] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/transaction-scheduling-rw-scopes.any.js.ini b/tests/wpt/meta/indexeddb/transaction-scheduling-rw-scopes.any.js.ini index 9faf27b8f46..84093126ffc 100644 --- a/tests/wpt/meta/indexeddb/transaction-scheduling-rw-scopes.any.js.ini +++ b/tests/wpt/meta/indexeddb/transaction-scheduling-rw-scopes.any.js.ini @@ -1,8 +1,10 @@ [transaction-scheduling-rw-scopes.any.worker.html] + expected: CRASH [Check that scope restrictions on read-write transactions are enforced.] expected: FAIL [transaction-scheduling-rw-scopes.any.html] + expected: CRASH [Check that scope restrictions on read-write transactions are enforced.] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/transaction-scheduling-within-database.any.js.ini b/tests/wpt/meta/indexeddb/transaction-scheduling-within-database.any.js.ini index 07c2759d5bb..a26c28e36f7 100644 --- a/tests/wpt/meta/indexeddb/transaction-scheduling-within-database.any.js.ini +++ b/tests/wpt/meta/indexeddb/transaction-scheduling-within-database.any.js.ini @@ -1,8 +1,10 @@ [transaction-scheduling-within-database.any.html] + expected: CRASH [Check that read-only transactions within a database can run in parallel.] expected: FAIL [transaction-scheduling-within-database.any.worker.html] + expected: CRASH [Check that read-only transactions within a database can run in parallel.] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/value.any.js.ini b/tests/wpt/meta/indexeddb/value.any.js.ini index c3dd56118b1..98a708c3e59 100644 --- a/tests/wpt/meta/indexeddb/value.any.js.ini +++ b/tests/wpt/meta/indexeddb/value.any.js.ini @@ -1,4 +1,5 @@ [value.any.worker.html] + expected: CRASH [BigInts as values in IndexedDB - primitive BigInt] expected: FAIL @@ -25,6 +26,7 @@ [value.any.html] + expected: CRASH [BigInts as values in IndexedDB - primitive BigInt] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/value_recursive.any.js.ini b/tests/wpt/meta/indexeddb/value_recursive.any.js.ini index 74659965be6..eb7f36e2546 100644 --- a/tests/wpt/meta/indexeddb/value_recursive.any.js.ini +++ b/tests/wpt/meta/indexeddb/value_recursive.any.js.ini @@ -1,4 +1,5 @@ [value_recursive.any.html] + expected: CRASH [Recursive value - array directly contains self] expected: FAIL @@ -10,6 +11,7 @@ [value_recursive.any.worker.html] + expected: CRASH [Recursive value - array directly contains self] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/worker-termination-aborts-upgrade.window.js.ini b/tests/wpt/meta/indexeddb/worker-termination-aborts-upgrade.window.js.ini index 8cb2e78546c..d2f7577e321 100644 --- a/tests/wpt/meta/indexeddb/worker-termination-aborts-upgrade.window.js.ini +++ b/tests/wpt/meta/indexeddb/worker-termination-aborts-upgrade.window.js.ini @@ -1,4 +1,3 @@ [worker-termination-aborts-upgrade.window.html] - expected: ERROR [Worker Termination Aborts a Pending Upgrade] expected: FAIL diff --git a/tests/wpt/meta/indexeddb/writer-starvation.any.js.ini b/tests/wpt/meta/indexeddb/writer-starvation.any.js.ini index a09d4b91e41..ff3cff0f76c 100644 --- a/tests/wpt/meta/indexeddb/writer-starvation.any.js.ini +++ b/tests/wpt/meta/indexeddb/writer-starvation.any.js.ini @@ -5,10 +5,12 @@ expected: ERROR [writer-starvation.any.html] + expected: CRASH [IDB read requests should not starve write requests] expected: FAIL [writer-starvation.any.worker.html] + expected: CRASH [IDB read requests should not starve write requests] expected: FAIL