LibWeb: Implement cleanup_indexed_database_transactions
Some checks are pending
CI / macOS, arm64, Sanitizer_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, Clang (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run

This commit is contained in:
stelar7 2025-06-16 16:41:29 +02:00 committed by Shannon Booth
parent fa1e02e5d7
commit 3815a7c1eb
Notes: github-actions[bot] 2025-06-18 07:06:49 +00:00
6 changed files with 44 additions and 1 deletions

View file

@ -21,6 +21,7 @@
#include <LibWeb/HTML/Window.h>
#include <LibWeb/HighResolutionTime/Performance.h>
#include <LibWeb/HighResolutionTime/TimeOrigin.h>
#include <LibWeb/IndexedDB/Internal/Algorithms.h>
#include <LibWeb/Page/Page.h>
#include <LibWeb/Painting/PaintableBox.h>
#include <LibWeb/Painting/ViewportPaintable.h>
@ -599,7 +600,8 @@ void EventLoop::perform_a_microtask_checkpoint()
global->notify_about_rejected_promises({});
}
// FIXME: 5. Cleanup Indexed Database transactions.
// 5. Cleanup Indexed Database transactions.
IndexedDB::cleanup_indexed_database_transactions(*this);
// 6. Perform ClearKeptObjects().
vm().finish_execution_generation();