mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Add IDBTransaction
This commit is contained in:
committed by
Jelle Raaijmakers
parent
16ce2b975a
commit
20a92a81c4
Notes:
github-actions[bot]
2024-11-26 13:52:51 +00:00
Author: https://github.com/stelar7 Commit: https://github.com/LadybirdBrowser/ladybird/commit/20a92a81c48 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2236 Reviewed-by: https://github.com/gmta ✅
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"
|
||||
};
|
||||
Reference in New Issue
Block a user