mirror of
https://github.com/lexmount/moli.git
synced 2026-11-21 16:03:10 +00:00
fix(indexeddb): validate transaction creation across upgrade boundaries
Convert store names before the mode enum and read iterator methods once. Use the generated receiver and required-argument checks. Reject live upgrades, closing connections, missing stores and empty scopes before creating or queuing transactions; reject versionchange after those checks. Normalize transaction scopes to unique names. Reserve the open result before upgrade-complete callbacks can enqueue regular transaction results. Keep request.transaction until complete returns and still check for a closed connection when delivering open. Exercise Window, iframe and Worker through the production browser event loop, including getter errors, pending transactions and upgrade state boundaries. Record newly passing upstream WPT variants after verification.
This commit is contained in:
@@ -344,8 +344,6 @@ IndexedDB/nested-cloning-small.any.js?moli-wpt-any=dedicatedworker
|
||||
IndexedDB/nested-cloning-small.any.js?moli-wpt-any=window
|
||||
IndexedDB/objectstore_keyorder.any.js?moli-wpt-any=dedicatedworker
|
||||
IndexedDB/objectstore_keyorder.any.js?moli-wpt-any=window
|
||||
IndexedDB/open-request-queue.any.js?moli-wpt-any=dedicatedworker
|
||||
IndexedDB/open-request-queue.any.js?moli-wpt-any=window
|
||||
IndexedDB/parallel-cursors-upgrade.any.js?moli-wpt-any=dedicatedworker
|
||||
IndexedDB/parallel-cursors-upgrade.any.js?moli-wpt-any=window
|
||||
IndexedDB/reading-autoincrement-indexes-cursors.any.js?moli-wpt-any=dedicatedworker
|
||||
|
||||
Reference in New Issue
Block a user