mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
21 lines
585 B
Plaintext
21 lines
585 B
Plaintext
#import <DOM/EventTarget.idl>
|
|
|
|
// https://w3c.github.io/IndexedDB/#idbrequest
|
|
[Exposed=(Window,Worker)]
|
|
interface IDBRequest : EventTarget {
|
|
readonly attribute any result;
|
|
readonly attribute DOMException? error;
|
|
[FIXME] readonly attribute (IDBObjectStore or IDBIndex or IDBCursor)? source;
|
|
[FIXME] readonly attribute IDBTransaction? transaction;
|
|
[FIXME] readonly attribute IDBRequestReadyState readyState;
|
|
|
|
// Event handlers:
|
|
attribute EventHandler onsuccess;
|
|
attribute EventHandler onerror;
|
|
};
|
|
|
|
enum IDBRequestReadyState {
|
|
"pending",
|
|
"done"
|
|
};
|