Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/IndexedDB/interfaces.idl

Issue 2212873003: W3C auto test importer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 interface IDBDatabase : EventTarget { 77 interface IDBDatabase : EventTarget {
78 readonly attribute DOMString name; 78 readonly attribute DOMString name;
79 readonly attribute unsigned long long version; 79 readonly attribute unsigned long long version;
80 readonly attribute DOMStringList objectStoreNames; 80 readonly attribute DOMStringList objectStoreNames;
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 onclose;
86 attribute EventHandler onerror; 87 attribute EventHandler onerror;
87 attribute EventHandler onversionchange; 88 attribute EventHandler onversionchange;
88 }; 89 };
89 90
90 interface IDBObjectStore { 91 interface IDBObjectStore {
91 attribute DOMString name; 92 attribute DOMString name;
92 readonly attribute any keyPath; 93 readonly attribute any keyPath;
93 readonly attribute DOMStringList indexNames; 94 readonly attribute DOMStringList indexNames;
94 readonly attribute IDBTransaction transaction; 95 readonly attribute IDBTransaction transaction;
95 readonly attribute boolean autoIncrement; 96 readonly attribute boolean autoIncrement;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 interface IDBTransaction : EventTarget { 137 interface IDBTransaction : EventTarget {
137 readonly attribute IDBTransactionMode mode; 138 readonly attribute IDBTransactionMode mode;
138 readonly attribute IDBDatabase db; 139 readonly attribute IDBDatabase db;
139 readonly attribute DOMError error; 140 readonly attribute DOMError error;
140 IDBObjectStore objectStore (DOMString name); 141 IDBObjectStore objectStore (DOMString name);
141 void abort (); 142 void abort ();
142 attribute EventHandler onabort; 143 attribute EventHandler onabort;
143 attribute EventHandler oncomplete; 144 attribute EventHandler oncomplete;
144 attribute EventHandler onerror; 145 attribute EventHandler onerror;
145 }; 146 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698