Files
ladybird/Tests/LibWeb/Text/expected/indexeddb-empty-transaction-ordering.txt
Zaggy1024 e8c1c2246e LibWeb: Autocommit IDB transactions with no requests during cleanup
If the current JS task has not made any requests, then nothing else
will trigger a commit like the spec desires, so we need to do it in the
microtask checkpoint.

Two WPT tests no longer time out with this change and have been
imported.
2026-03-05 17:12:55 -06:00

10 lines
190 B
Plaintext

tx1 readwrite
tx2 readwrite with request
tx3 readwrite empty
tx4 readonly empty
tx1.oncomplete
tx2 get: val=2
tx2.oncomplete
tx3.oncomplete (empty readwrite)
tx4.oncomplete (empty readonly)