Files
ladybird/Libraries/LibWeb/IndexedDB/IDBTransaction.idl
Shannon Booth cc6e048bd6 LibWeb+LibIDL: Remove support for #import directives during parsing
These no longer serve any purpose now that we run the IDLGenerator
on all of these files at once.
2026-04-24 20:08:29 +02:00

22 lines
649 B
Plaintext

[Exposed=(Window,Worker)]
interface IDBTransaction : EventTarget {
readonly attribute DOMStringList objectStoreNames;
readonly attribute IDBTransactionMode mode;
readonly attribute IDBTransactionDurability durability;
[SameObject, ImplementedAs=connection] readonly attribute IDBDatabase db;
readonly attribute DOMException? error;
IDBObjectStore objectStore(DOMString name);
undefined commit();
undefined abort();
attribute EventHandler onabort;
attribute EventHandler oncomplete;
attribute EventHandler onerror;
};
enum IDBTransactionMode {
"readonly",
"readwrite",
"versionchange"
};