Commit Graph

2 Commits

Author SHA1 Message Date
Zaggy1024
3f2bb43d47 LibWeb: Reset IDB transaction state to active after serialization error
If an error causes this to be left inactive, further requests will be
rejected on the transaction. This gives us a few subtest passes in
IndexedDB/key-conversion-exceptions and IndexedDB/keypath-exceptions
WPTs.

With this fixed, the cleanup loop can assert that the transactions'
states are all active before they are set inactive.
2026-03-05 17:12:55 -06:00
Luke Wilde
85e8d2ba38 LibWeb/IndexedDB: Prevent copying and moving of RequestList
RequestList cannot be copied or moved, because m_pending_request_queue
contains lambdas that store pointers to the original RequestList and
completion steps that we don't have a reference to.

Fixes a bunch of WPT regressions and imports the ones that work.
2025-10-23 14:42:45 +02:00