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

Unified Diff: Source/modules/indexeddb/IDBObjectStore.idl

Issue 295163005: Remove ScriptState::current() from IDBRequest (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/indexeddb/IDBObjectStore.idl
diff --git a/Source/modules/indexeddb/IDBObjectStore.idl b/Source/modules/indexeddb/IDBObjectStore.idl
index d454079543df74828f1b31bd7af1dc80e0806ddb..a17837d28439758c217b5d51719bf7bc399b9ce3 100644
--- a/Source/modules/indexeddb/IDBObjectStore.idl
+++ b/Source/modules/indexeddb/IDBObjectStore.idl
@@ -34,17 +34,17 @@
readonly attribute IDBTransaction transaction;
readonly attribute boolean autoIncrement;
- [CallWith=ExecutionContext, RaisesException] IDBRequest put(any value, [Default=Undefined] optional any key);
- [CallWith=ExecutionContext, RaisesException] IDBRequest add(any value, [Default=Undefined] optional any key);
- [CallWith=ExecutionContext, ImplementedAs=deleteFunction, RaisesException] IDBRequest delete(any key);
- [CallWith=ExecutionContext, RaisesException] IDBRequest get(any key);
- [CallWith=ExecutionContext, RaisesException] IDBRequest clear();
- [CallWith=ExecutionContext, RaisesException] IDBRequest openCursor([Default=Undefined] optional any range, [Default=NullString] optional DOMString direction);
- [CallWith=ExecutionContext, RaisesException, RuntimeEnabled=IndexedDBExperimental] IDBRequest openKeyCursor([Default=Undefined] optional any range, [Default=NullString] optional DOMString direction);
+ [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [Default=Undefined] optional any key);
+ [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [Default=Undefined] optional any key);
+ [CallWith=ScriptState, ImplementedAs=deleteFunction, RaisesException] IDBRequest delete(any key);
+ [CallWith=ScriptState, RaisesException] IDBRequest get(any key);
+ [CallWith=ScriptState, RaisesException] IDBRequest clear();
+ [CallWith=ScriptState, RaisesException] IDBRequest openCursor([Default=Undefined] optional any range, [Default=NullString] optional DOMString direction);
+ [CallWith=ScriptState, RaisesException, RuntimeEnabled=IndexedDBExperimental] IDBRequest openKeyCursor([Default=Undefined] optional any range, [Default=NullString] optional DOMString direction);
// FIXME: should be union type http://crbug.com/240176
[CallWith=ScriptState, RaisesException] IDBIndex createIndex(DOMString name, DOMString keyPath, optional Dictionary options);
[CallWith=ScriptState, RaisesException] IDBIndex createIndex(DOMString name, sequence<DOMString> keyPath, optional Dictionary options);
[RaisesException] IDBIndex index(DOMString name);
[RaisesException] void deleteIndex(DOMString name);
- [CallWith=ExecutionContext, RaisesException] IDBRequest count([Default=Undefined] optional any key);
+ [CallWith=ScriptState, RaisesException] IDBRequest count([Default=Undefined] optional any key);
};

Powered by Google App Engine
This is Rietveld 408576698