Skip to content

Commit

Permalink
IDL: Fix IDL description of IDBObjectStore
Browse files Browse the repository at this point in the history
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/1280622
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: Hitoshi Yoshida <peria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#599616}
  • Loading branch information
peria authored and Commit Bot committed Oct 15, 2018
1 parent e94384b commit 8a5ebcd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
[NewObject, CallWith=ScriptState, RaisesException] IDBRequest get(any key);
[NewObject, CallWith=ScriptState, RaisesException] IDBRequest getKey(any key);
[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,
[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 openCursor([Default=Undefined] optional any range,
Expand Down

0 comments on commit 8a5ebcd

Please sign in to comment.