mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-01 15:18:06 +00:00
LibWeb/IDB: Implement IDBTransaction::objectStore
This commit is contained in:
parent
8fcb54dada
commit
fc06d088c3
Notes:
github-actions[bot]
2025-04-11 01:13:48 +00:00
Author: https://github.com/stelar7
Commit: fc06d088c3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4306
Reviewed-by: https://github.com/ADKaster ✅
3 changed files with 33 additions and 1 deletions
|
@ -59,8 +59,11 @@ public:
|
|||
[[nodiscard]] bool is_readwrite() const { return m_mode == Bindings::IDBTransactionMode::Readwrite; }
|
||||
[[nodiscard]] bool is_finished() const { return m_state == TransactionState::Finished; }
|
||||
|
||||
GC::Ptr<ObjectStore> object_store_named(String const& name) const;
|
||||
|
||||
WebIDL::ExceptionOr<void> abort();
|
||||
WebIDL::ExceptionOr<void> commit();
|
||||
WebIDL::ExceptionOr<GC::Ref<IDBObjectStore>> object_store(String const& name);
|
||||
|
||||
void set_onabort(WebIDL::CallbackType*);
|
||||
WebIDL::CallbackType* onabort();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue