[Bug 25217] New: Add ability to specify license domain for key requests

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

            Bug ID: 25217
           Summary: Add ability to specify license domain for key requests
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Encrypted Media Extensions
          Assignee: adrianba@microsoft.com
          Reporter: steele@adobe.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

At various stages of defining this spec, we have mentioned supporting domains.
In order to support domains properly, there needs to be a way to select the
domain to be associated with key requests when multiple acceptable domains
exist.

This is a choice that the content decryption module cannot always make directly
 and may require input from the web application or even the user. An example of
this is when two domains are possible to choose from - but one domain costs
money to join and the other does not (perhaps because the device is already a
member). 

This could have been provided by bug 24025, but in lieu of that mechanism I
propose the following be added to MediaKeys:

void setLicenseDomain(DomString licenseDomain);

If the CDM corresponding to the keySystem attribute does not support license
domains, throw a NOT_SUPPORTED_ERR exception and abort these steps.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 31 March 2014 16:38:34 UTC