[Bug 26372] Report issues/events not related to a specific method call

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

--- Comment #20 from David Dorwin <ddorwin@google.com> ---
(In reply to Mark Watson from comment #18)
> Can't this be an attribute with type Sequence<KeyStatus> where KeyStatus is
> an interface with attributes keyid (ArrayBuffer) and status (enum) ?

In bug 25594, we decided to use a Promise-returning method instead of an
attribute. See that bug for the relevant discussion.

That said, we could return Promise<sequence<KeyStatus>> where KeyStatus is as
you defined. It seems a bit of an overkill to define an interface just for
this, but some architectural guidance would be helpful here.

> There could then be a simple event when this changes.
> 
> Or (IIUC) the attribute could be [Observable], if that is not too
> new-fangled.

Do you have a reference for [Observable]? I'd like to understand how that might
apply.

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

Received on Wednesday, 17 September 2014 17:26:03 UTC