Commit 564b6c15 authored by Eric Willigers's avatar Eric Willigers Committed by Commit Bot

observeUseCounter returns a Promise<boolean>

internals.idl previously had Promise<bool>
but bool is not a Web IDL type.

Change-Id: If3541adc87e246a1933f5414e34d1025b32469b6
Reviewed-on: https://chromium-review.googlesource.com/c/1337133Reviewed-by: default avatarStefan Zager <szager@chromium.org>
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608559}
parent be097d66
...@@ -362,7 +362,7 @@ enum EffectiveConnectionType { ...@@ -362,7 +362,7 @@ enum EffectiveConnectionType {
// Returns a promise that is resolved when |feature| is counted on // Returns a promise that is resolved when |feature| is counted on
// |document|'s UseCounter. When |feature| was already counted, it's // |document|'s UseCounter. When |feature| was already counted, it's
// immediately resolved. // immediately resolved.
[CallWith=ScriptState] Promise<bool> observeUseCounter(Document document, unsigned long feature); [CallWith=ScriptState] Promise<boolean> observeUseCounter(Document document, unsigned long feature);
readonly attribute unsigned long length; readonly attribute unsigned long length;
getter long (unsigned long index); getter long (unsigned long index);
......
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