[Bug 25594] The read-only attribute usableKeyIds cannot be variable length

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25594

--- Comment #5 from Boris Zbarsky <bzbarsky@mit.edu> ---
>Are you saying that the following is the recommended style?
>  object getUsableKeyIds();

In this case, you could do:

  sequence<Uint8Array> getUsableKeyIds();

or:

  attribute object usableKeyIds;

with the latter having prose that describes when the object is created, etc.

> Is that preferred to asynchronously looking up the data only when queried?

Not particularly, no.  Sync vs async is a separate API decision from what type
results from the API call; they are not tied to each other.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 12 June 2014 02:00:33 UTC