mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibWeb/IDB: Add store to the current transaction when created
This commit is contained in:
parent
47d6b568fd
commit
edf64b801c
Notes:
github-actions[bot]
2025-04-28 09:32:37 +00:00
Author: https://github.com/stelar7
Commit: edf64b801c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4476
Reviewed-by: https://github.com/gmta ✅
2 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,7 @@ public:
|
|||
[[nodiscard]] bool is_finished() const { return m_state == TransactionState::Finished; }
|
||||
|
||||
GC::Ptr<ObjectStore> object_store_named(String const& name) const;
|
||||
void add_to_scope(GC::Ref<ObjectStore> object_store) { m_scope.append(object_store); }
|
||||
|
||||
WebIDL::ExceptionOr<void> abort();
|
||||
WebIDL::ExceptionOr<void> commit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue