Index: modules/indexeddb/IDBTransaction.idl |
diff --git a/modules/indexeddb/IDBTransaction.idl b/modules/indexeddb/IDBTransaction.idl |
index 8c86f14fdfc765af82f59621756cf166bbcefe6c..7f567590b79b3cd2971923a045bdaa121d7e9bdf 100644 |
--- a/modules/indexeddb/IDBTransaction.idl |
+++ b/modules/indexeddb/IDBTransaction.idl |
@@ -24,22 +24,27 @@ |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-// FIXME: de-duplicate this when crbug.com/390758 is fixed. |
+// https://w3c.github.io/IndexedDB/#idl-def-IDBTransactionMode |
+ |
enum IDBTransactionMode { |
"readonly", |
"readwrite", |
"versionchange" |
}; |
+// https://w3c.github.io/IndexedDB/#idl-def-IDBTransaction |
+ |
[ |
+ Exposed=(Window,Worker), |
ActiveDOMObject, |
GarbageCollected |
] interface IDBTransaction : EventTarget { |
// Properties |
+ [RuntimeEnabled=IndexedDBExperimental, Measure] readonly attribute DOMStringList objectStoreNames; |
readonly attribute IDBTransactionMode mode; |
readonly attribute IDBDatabase db; |
- readonly attribute DOMError error; |
+ [Measure] readonly attribute DOMError error; |
// Methods |
[RaisesException] IDBObjectStore objectStore (DOMString name); |