[Bug 25923] isTypeSupported should be asynchronous

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

--- Comment #28 from David Dorwin <ddorwin@google.com> ---
I (and maybe others) consider the download case a special case of
permissions/authorization, and we are trying to determine where and how to
handle authorization. (This is why we had proposed opening a separate bug to
address authorization (comment #12).)

Stepping back, Jerry has identified two different approaches to permissions in
comment #22. I think we need to pick one before focusing on specific proposals.
 1. The UA handles permissions implicitly as part of some method call.
 2. The spec provides an explicit method to request permissions.

Asynchronous isTypeSupported() and reuse of create() fall in category #1.
ActivateCDM() falls in #2 (but probably needs to be refined to be more
generic).

#1 offers more implementation flexibility and avoids making the application do
more work than will be unnecessary in most cases (i.e. due to saved
permissions).

I think we can still be explicit about handling permissions without adding an
explicit method (#2).

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

Received on Monday, 15 September 2014 18:25:42 UTC