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

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

Issue 1155883005: IndexedDB: Add draft/proposal links for some experimental APIs in IDLs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove comments for draft spec'd features, update spec links Created 5 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/IDBIndex.idl
diff --git a/Source/modules/indexeddb/IDBIndex.idl b/Source/modules/indexeddb/IDBIndex.idl
index ee56c88996c2bb3ddd87e4e390c8ed3ad109de2f..36f591af678df4e9cebdc8648d8aa98e518449e8 100644
--- a/Source/modules/indexeddb/IDBIndex.idl
+++ b/Source/modules/indexeddb/IDBIndex.idl
@@ -23,7 +23,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// http://www.w3.org/TR/IndexedDB/#idl-def-IDBIndex
+// https://w3c.github.io/IndexedDB/#idl-def-IDBIndex
[
Exposed=(Window,Worker),
@@ -32,18 +32,15 @@
readonly attribute DOMString name;
readonly attribute IDBObjectStore objectStore;
[CallWith=ScriptState] readonly attribute any keyPath;
- readonly attribute boolean unique;
readonly attribute boolean multiEntry;
-
- [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");
+ readonly attribute boolean unique;
[CallWith=ScriptState, RaisesException] IDBRequest get(any key);
- // TODO(cmumford): Standardize or eventually remove.
+ [CallWith=ScriptState, RaisesException] IDBRequest getKey(any key);
// TODO(cmumford): 0xFFFFFFFF is not necessary. Remove once crbug.com/335871 is fixed.
- // getAll is non-standard, and therefore experimental. More info at:
- // Documented at http://w3c.github.io/IndexedDB/#widl-IDBIndex-getAll-IDBRequest-any-query-unsigned-long-count
[CallWith=ScriptState, RaisesException, RuntimeEnabled=IndexedDBExperimental] IDBRequest getAll([Default=Undefined] optional any range, optional unsigned long maxCount = 0xFFFFFFFF);
- [CallWith=ScriptState, RaisesException] IDBRequest getKey(any key);
[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");
+
};

Powered by Google App Engine
This is Rietveld 408576698