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

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

--- Comment #15 from David Dorwin <ddorwin@google.com> ---
(In reply to David Dorwin from comment #10)
> Since the remaining events (key availability / valid window, output
> protection) affect the usable keys, we could add a reason enum to the
> "keyschange" event (it would become a custom event instead of a simple
> event).

An alternative would be to replace getUsableKeyIds() with something like
getKeyStatuses(), which would resolve with an array of key ID and status enum
pairs. For simplicity, it might make more sense to have separate arrays of key
IDs and matching status enums.

This would allow applications to match the status to individual key(s), but it
also requires a bit more logic to simply determine whether a key is "usable."

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

Received on Monday, 8 September 2014 21:43:41 UTC