| OLD | NEW |
| 1 enum IDBTransactionMode { | 1 enum IDBTransactionMode { |
| 2 "readonly", | 2 "readonly", |
| 3 "readwrite", | 3 "readwrite", |
| 4 "versionchange" | 4 "versionchange" |
| 5 }; | 5 }; |
| 6 | 6 |
| 7 enum IDBRequestReadyState { | 7 enum IDBRequestReadyState { |
| 8 "pending", | 8 "pending", |
| 9 "done" | 9 "done" |
| 10 }; | 10 }; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 IDBObjectStore createObjectStore (DOMString name, optional IDBObjectStorePar
ameters optionalParameters); | 81 IDBObjectStore createObjectStore (DOMString name, optional IDBObjectStorePar
ameters optionalParameters); |
| 82 void deleteObjectStore (DOMString name); | 82 void deleteObjectStore (DOMString name); |
| 83 IDBTransaction transaction ((DOMString or sequence<DOMString>) storeNames, o
ptional IDBTransactionMode mode = "readonly"); | 83 IDBTransaction transaction ((DOMString or sequence<DOMString>) storeNames, o
ptional IDBTransactionMode mode = "readonly"); |
| 84 void close (); | 84 void close (); |
| 85 attribute EventHandler onabort; | 85 attribute EventHandler onabort; |
| 86 attribute EventHandler onerror; | 86 attribute EventHandler onerror; |
| 87 attribute EventHandler onversionchange; | 87 attribute EventHandler onversionchange; |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 interface IDBObjectStore { | 90 interface IDBObjectStore { |
| 91 readonly attribute DOMString name; | 91 attribute DOMString name; |
| 92 readonly attribute any keyPath; | 92 readonly attribute any keyPath; |
| 93 readonly attribute DOMStringList indexNames; | 93 readonly attribute DOMStringList indexNames; |
| 94 readonly attribute IDBTransaction transaction; | 94 readonly attribute IDBTransaction transaction; |
| 95 readonly attribute boolean autoIncrement; | 95 readonly attribute boolean autoIncrement; |
| 96 IDBRequest put (any value, optional any key); | 96 IDBRequest put (any value, optional any key); |
| 97 IDBRequest add (any value, optional any key); | 97 IDBRequest add (any value, optional any key); |
| 98 IDBRequest delete (any key); | 98 IDBRequest delete (any key); |
| 99 IDBRequest get (any key); | 99 IDBRequest get (any key); |
| 100 IDBRequest clear (); | 100 IDBRequest clear (); |
| 101 IDBRequest openCursor (optional any range, optional IDBCursorDirection direc
tion = "next"); | 101 IDBRequest openCursor (optional any range, optional IDBCursorDirection direc
tion = "next"); |
| 102 IDBIndex createIndex (DOMString name, (DOMString or sequence<DOMString>) k
eyPath, optional IDBIndexParameters optionalParameters); | 102 IDBIndex createIndex (DOMString name, (DOMString or sequence<DOMString>) k
eyPath, optional IDBIndexParameters optionalParameters); |
| 103 IDBIndex index (DOMString name); | 103 IDBIndex index (DOMString name); |
| 104 void deleteIndex (DOMString indexName); | 104 void deleteIndex (DOMString indexName); |
| 105 IDBRequest count (optional any key); | 105 IDBRequest count (optional any key); |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 interface IDBIndex { | 108 interface IDBIndex { |
| 109 readonly attribute DOMString name; | 109 attribute DOMString name; |
| 110 readonly attribute IDBObjectStore objectStore; | 110 readonly attribute IDBObjectStore objectStore; |
| 111 readonly attribute any keyPath; | 111 readonly attribute any keyPath; |
| 112 readonly attribute boolean multiEntry; | 112 readonly attribute boolean multiEntry; |
| 113 readonly attribute boolean unique; | 113 readonly attribute boolean unique; |
| 114 IDBRequest openCursor (optional any range, optional IDBCursorDirection direc
tion = "next"); | 114 IDBRequest openCursor (optional any range, optional IDBCursorDirection direc
tion = "next"); |
| 115 IDBRequest openKeyCursor (optional any range, optional IDBCursorDirection di
rection = "next"); | 115 IDBRequest openKeyCursor (optional any range, optional IDBCursorDirection di
rection = "next"); |
| 116 IDBRequest get (any key); | 116 IDBRequest get (any key); |
| 117 IDBRequest getKey (any key); | 117 IDBRequest getKey (any key); |
| 118 IDBRequest count (optional any key); | 118 IDBRequest count (optional any key); |
| 119 }; | 119 }; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 136 interface IDBTransaction : EventTarget { | 136 interface IDBTransaction : EventTarget { |
| 137 readonly attribute IDBTransactionMode mode; | 137 readonly attribute IDBTransactionMode mode; |
| 138 readonly attribute IDBDatabase db; | 138 readonly attribute IDBDatabase db; |
| 139 readonly attribute DOMError error; | 139 readonly attribute DOMError error; |
| 140 IDBObjectStore objectStore (DOMString name); | 140 IDBObjectStore objectStore (DOMString name); |
| 141 void abort (); | 141 void abort (); |
| 142 attribute EventHandler onabort; | 142 attribute EventHandler onabort; |
| 143 attribute EventHandler oncomplete; | 143 attribute EventHandler oncomplete; |
| 144 attribute EventHandler onerror; | 144 attribute EventHandler onerror; |
| 145 }; | 145 }; |
| OLD | NEW |