[Bug 25923] isTypeSupported should be asynchronous

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

--- Comment #33 from Anne <annevk@annevk.nl> ---
(In reply to David Dorwin from comment #31)
> I think this assumes that the value returned by isTypeSupported() is
> different depending on whether the CDM is permitted/installed.

Yes, this bug is about that :-)


> If the user does not permit the CDM, the UA could return "". Alternatively,
> if the UA always returned "maybe", the application would try
> MediaKeys.create(), which would be rejected with "NotSupportedError" per
> step 3 of the create() algorithm. The effect is the same - the user does not
> get to play the encrypted content.

The problem is if the programming flow is different across user agents that
might use different deployment models for DRM. Some content will start assuming
a particular flow and therefore not be compatible with a different model.


> requestKeySystem().

That would work.

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

Received on Wednesday, 17 September 2014 08:03:00 UTC