[Bug 25923] isTypeSupported should be asynchronous

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

--- Comment #3 from Boris Zbarsky <bzbarsky@mit.edu> ---
> Is isTypeSupported() a good time to prompt the user?

Well, until the user has agreed (or not) to enabling EME you don't know whether
the type is supported.  Will sites trying to use this API be OK if a UA always
returns "maybe" from it, no matter what?  Seems unlikely to me.

> I'm not sure how that would work if it was asynchronous.

The same way it does with the sync version, but you make the next call from the
then() handler, no?

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

Received on Friday, 30 May 2014 17:34:09 UTC