| Index: third_party/WebKit/Source/modules/indexeddb/IDBIndex.idl
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBIndex.idl b/third_party/WebKit/Source/modules/indexeddb/IDBIndex.idl
|
| index 1d33c9327198de1416ffdcc9b4a12262011df207..5e1bace34785b543fbbb0f8cde6332decdf54c5d 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBIndex.idl
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBIndex.idl
|
| @@ -29,19 +29,23 @@
|
| Exposed=(Window,Worker),
|
| ] interface IDBIndex {
|
| [RaisesException=Setter] attribute DOMString name;
|
| - readonly attribute IDBObjectStore objectStore;
|
| + [SameObject] readonly attribute IDBObjectStore objectStore;
|
| [CallWith=ScriptState] readonly attribute any keyPath;
|
| readonly attribute boolean multiEntry;
|
| readonly attribute boolean unique;
|
|
|
| - [CallWith=ScriptState, RaisesException] IDBRequest get(any key);
|
| - [CallWith=ScriptState, RaisesException] IDBRequest getKey(any key);
|
| + [NewObject, CallWith=ScriptState, RaisesException] IDBRequest get(any key);
|
| + [NewObject, CallWith=ScriptState, RaisesException] IDBRequest getKey(any key);
|
| // TODO(cmumford): 0xFFFFFFFF is not necessary. Remove once crbug.com/335871 is fixed.
|
| - [CallWith=ScriptState, RaisesException] IDBRequest getAll([Default=Undefined] optional any range, [EnforceRange] optional unsigned long maxCount = 0xFFFFFFFF);
|
| + [NewObject, CallWith=ScriptState, RaisesException] IDBRequest getAll([Default=Undefined] optional any range,
|
| + [EnforceRange] optional unsigned long maxCount = 0xFFFFFFFF);
|
| // TODO(cmumford): 0xFFFFFFFF is not necessary. Remove once crbug.com/335871 is fixed.
|
| - [CallWith=ScriptState, RaisesException] IDBRequest getAllKeys([Default=Undefined] optional any range, [EnforceRange] optional unsigned long maxCount = 0xFFFFFFFF);
|
| - [CallWith=ScriptState, RaisesException] IDBRequest count([Default=Undefined] optional any key);
|
| - [CallWith=ScriptState, RaisesException] IDBRequest openCursor([Default=Undefined] optional any range, optional IDBCursorDirection direction = "next");
|
| - [CallWith=ScriptState, RaisesException] IDBRequest openKeyCursor([Default=Undefined] optional any range, optional IDBCursorDirection direction = "next");
|
| + [NewObject, CallWith=ScriptState, RaisesException] IDBRequest getAllKeys([Default=Undefined] optional any range,
|
| + [EnforceRange] optional unsigned long maxCount = 0xFFFFFFFF);
|
| + [NewObject, CallWith=ScriptState, RaisesException] IDBRequest count([Default=Undefined] optional any key);
|
|
|
| + [NewObject, CallWith=ScriptState, RaisesException] IDBRequest openCursor([Default=Undefined] optional any range,
|
| + optional IDBCursorDirection direction = "next");
|
| + [NewObject, CallWith=ScriptState, RaisesException] IDBRequest openKeyCursor([Default=Undefined] optional any range,
|
| + optional IDBCursorDirection direction = "next");
|
| };
|
|
|