Commit 8a5ebcdc authored by Hitoshi Yoshida's avatar Hitoshi Yoshida Committed by Commit Bot

IDL: Fix IDL description of IDBObjectStore

An extended attribute [EnforceRange] is applicable to integer types,
and not applicable to others, e.g. arguments.
This CL fixes the folloing wrong usage of [EnforceRange], and it
follows the spec of IDBOjbectStore.
https://w3c.github.io/IndexedDB/#object-store-interface


Bug: 819112
Change-Id: I65fa19cfd4d1119213390a54dba3247ee0cd2b4a
Reviewed-on: https://chromium-review.googlesource.com/c/1280622Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Hitoshi Yoshida <peria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#599616}
parent e94384b7
...@@ -41,9 +41,9 @@ ...@@ -41,9 +41,9 @@
[NewObject, CallWith=ScriptState, RaisesException] IDBRequest get(any key); [NewObject, CallWith=ScriptState, RaisesException] IDBRequest get(any key);
[NewObject, CallWith=ScriptState, RaisesException] IDBRequest getKey(any key); [NewObject, CallWith=ScriptState, RaisesException] IDBRequest getKey(any key);
[NewObject, CallWith=ScriptState, RaisesException] IDBRequest getAll([Default=Undefined] optional any query, [NewObject, CallWith=ScriptState, RaisesException] IDBRequest getAll([Default=Undefined] optional any query,
[EnforceRange] optional unsigned long count); optional [EnforceRange] unsigned long count);
[NewObject, CallWith=ScriptState, RaisesException] IDBRequest getAllKeys([Default=Undefined] optional any query, [NewObject, CallWith=ScriptState, RaisesException] IDBRequest getAllKeys([Default=Undefined] optional any query,
[EnforceRange] optional unsigned long count); optional [EnforceRange] unsigned long count);
[NewObject, CallWith=ScriptState, RaisesException] IDBRequest count([Default=Undefined] optional any key); [NewObject, CallWith=ScriptState, RaisesException] IDBRequest count([Default=Undefined] optional any key);
[NewObject, CallWith=ScriptState, RaisesException] IDBRequest openCursor([Default=Undefined] optional any range, [NewObject, CallWith=ScriptState, RaisesException] IDBRequest openCursor([Default=Undefined] optional any range,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment