Files
ladybird/Tests/LibWeb/Text/input/wpt-import/IndexedDB/transaction-lifetime-empty.any.html
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

16 lines
514 B
HTML

<!doctype html>
<meta charset=utf-8>
<title>IndexedDB: Commit ordering of empty transactions</title>
<script>
self.GLOBAL = {
isWindow: function() { return true; },
isWorker: function() { return false; },
isShadowRealm: function() { return false; },
};
</script>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="resources/support.js"></script>
<div id=log></div>
<script src="../IndexedDB/transaction-lifetime-empty.any.js"></script>