mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-28 05:52:53 +00:00
20 lines
621 B
Text
20 lines
621 B
Text
#import <DOM/EventTarget.idl>
|
|
|
|
// https://w3c.github.io/IndexedDB/#idbrequest
|
|
[Exposed=(Window,Worker)]
|
|
interface IDBRequest : EventTarget {
|
|
[FIXME] readonly attribute any result;
|
|
[FIXME] 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:
|
|
// FIXME: attribute EventHandler onsuccess;
|
|
// FIXME: attribute EventHandler onerror;
|
|
};
|
|
|
|
enum IDBRequestReadyState {
|
|
"pending",
|
|
"done"
|
|
};
|