From 080e7df490b92da264f1d4a0eaffd96342d5bd86 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 53131a67407..ca927791e36 100644 --- a/moli-benchmark/wpt-cross-current/passed-cases.txt +++ b/moli-benchmark/wpt-cross-current/passed-cases.txt @@ -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