| Index: modules/indexeddb/IDBTransaction.idl
|
| diff --git a/modules/indexeddb/IDBTransaction.idl b/modules/indexeddb/IDBTransaction.idl
|
| index f68c86e4dae7ebb1c7ec7b689ac9e744a5f8f95d..8c86f14fdfc765af82f59621756cf166bbcefe6c 100644
|
| --- a/modules/indexeddb/IDBTransaction.idl
|
| +++ b/modules/indexeddb/IDBTransaction.idl
|
| @@ -24,13 +24,20 @@
|
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| +// FIXME: de-duplicate this when crbug.com/390758 is fixed.
|
| +enum IDBTransactionMode {
|
| + "readonly",
|
| + "readwrite",
|
| + "versionchange"
|
| +};
|
| +
|
| [
|
| ActiveDOMObject,
|
| GarbageCollected
|
| ] interface IDBTransaction : EventTarget {
|
|
|
| // Properties
|
| - readonly attribute DOMString mode;
|
| + readonly attribute IDBTransactionMode mode;
|
| readonly attribute IDBDatabase db;
|
| readonly attribute DOMError error;
|
|
|
|
|