mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-18 08:20:44 +00:00
LibWeb: Add IDBTransaction
This commit is contained in:
parent
16ce2b975a
commit
20a92a81c4
Notes:
github-actions[bot]
2024-11-26 13:52:51 +00:00
Author: https://github.com/stelar7
Commit: 20a92a81c4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2236
Reviewed-by: https://github.com/gmta ✅
8 changed files with 168 additions and 0 deletions
25
Libraries/LibWeb/IndexedDB/IDBTransaction.idl
Normal file
25
Libraries/LibWeb/IndexedDB/IDBTransaction.idl
Normal file
|
@ -0,0 +1,25 @@
|
|||
#import <DOM/EventTarget.idl>
|
||||
#import <IndexedDB/IDBDatabase.idl>
|
||||
#import <IndexedDB/IDBObjectStore.idl>
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface IDBTransaction : EventTarget {
|
||||
[FIXME] readonly attribute DOMStringList objectStoreNames;
|
||||
readonly attribute IDBTransactionMode mode;
|
||||
readonly attribute IDBTransactionDurability durability;
|
||||
[FIXME, SameObject] readonly attribute IDBDatabase db;
|
||||
readonly attribute DOMException? error;
|
||||
[FIXME] IDBObjectStore objectStore(DOMString name);
|
||||
[FIXME] undefined commit();
|
||||
[FIXME] undefined abort();
|
||||
|
||||
attribute EventHandler onabort;
|
||||
attribute EventHandler oncomplete;
|
||||
attribute EventHandler onerror;
|
||||
};
|
||||
|
||||
enum IDBTransactionMode {
|
||||
"readonly",
|
||||
"readwrite",
|
||||
"versionchange"
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue