From b5db23652e97f6c0eac8a5bd2b7af2dde801d3c0 Mon Sep 17 00:00:00 2001 From: ldm0 Date: Thu, 17 Sep 2026 05:28:15 +0800 Subject: [PATCH] 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. --- moli-benchmark/wpt-cross-current/passed-cases.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/moli-benchmark/wpt-cross-current/passed-cases.txt b/moli-benchmark/wpt-cross-current/passed-cases.txt index cc17b185572..057985dec7a 100644 --- a/moli-benchmark/wpt-cross-current/passed-cases.txt +++ b/moli-benchmark/wpt-cross-current/passed-cases.txt @@ -334,8 +334,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