mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 11:36:10 +00:00
LibWeb/IDB: Implement IDBObjectStore::transaction
This commit is contained in:
parent
594ba28c35
commit
b0453e044d
Notes:
github-actions[bot]
2025-03-27 15:49:25 +00:00
Author: https://github.com/stelar7 Commit: https://github.com/LadybirdBrowser/ladybird/commit/b0453e044d4 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4077 Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/gmta ✅
2 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ public:
|
|||
[[nodiscard]] static GC::Ref<IDBObjectStore> create(JS::Realm&, GC::Ref<ObjectStore>, GC::Ref<IDBTransaction>);
|
||||
|
||||
JS::Value key_path() const;
|
||||
GC::Ref<IDBTransaction> transaction() const { return m_transaction; }
|
||||
|
||||
protected:
|
||||
explicit IDBObjectStore(JS::Realm&, GC::Ref<ObjectStore>, GC::Ref<IDBTransaction>);
|
||||
|
|
|
@ -7,7 +7,7 @@ interface IDBObjectStore {
|
|||
[FIXME] attribute DOMString name;
|
||||
readonly attribute any keyPath;
|
||||
[FIXME] readonly attribute DOMStringList indexNames;
|
||||
[FIXME, SameObject] readonly attribute IDBTransaction transaction;
|
||||
[SameObject] readonly attribute IDBTransaction transaction;
|
||||
[FIXME] readonly attribute boolean autoIncrement;
|
||||
|
||||
[FIXME, NewObject] IDBRequest put(any value, optional any key);
|
||||
|
|
Loading…
Add table
Reference in a new issue