mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb/IDB: Add store to the current transaction when created
This commit is contained in:
committed by
Jelle Raaijmakers
parent
47d6b568fd
commit
edf64b801c
Notes:
github-actions[bot]
2025-04-28 09:32:37 +00:00
Author: https://github.com/stelar7 Commit: https://github.com/LadybirdBrowser/ladybird/commit/edf64b801c4 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4476 Reviewed-by: https://github.com/gmta ✅
@@ -24,6 +24,7 @@ IDBObjectStore::IDBObjectStore(JS::Realm& realm, GC::Ref<ObjectStore> store, GC:
|
||||
, m_transaction(transaction)
|
||||
, m_name(store->name())
|
||||
{
|
||||
transaction->add_to_scope(store);
|
||||
}
|
||||
|
||||
GC::Ref<IDBObjectStore> IDBObjectStore::create(JS::Realm& realm, GC::Ref<ObjectStore> store, GC::Ref<IDBTransaction> transaction)
|
||||
|
||||
Reference in New Issue
Block a user