mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
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.
10 lines
190 B
Plaintext
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)
|