DescriptionIndexedDB: continuePrimaryKey() on object store cursor should throw
Behind the --enable-experimental-web-platform-features flag, Blink
supports a new continuePrimaryKey() method on IDBCursor. This is
intended for use on indexes to advance a cursor to a specific (key,
primaryKey) pair. It's not fully specified yet only hashed out in
bugs[1] (hence, experimental). Calling the method on a cursor which
has an object store rather than an index as its source hits a DCHECK.
Pending a full spec for the feature, have the method throw if the
cursor's source is not an index.
[1] https://github.com/w3c/IndexedDB/issues/14
R=cmumford@chromium.org
BUG=493443
TEST=idbcursor_continueprimarykey.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196108
Patch Set 1 #
Total comments: 2
Patch Set 2 : eschew assert_true #
Messages
Total messages: 7 (2 generated)
|