LibWeb: Implement cleanup_indexed_database_transactions

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();