mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +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.
16 lines
514 B
HTML
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>
|