[Bug 26829] New: MediaKeys.create()'s spec mentions an unassociated media element

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

            Bug ID: 26829
           Summary: MediaKeys.create()'s spec mentions an unassociated
                    media element
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Encrypted Media Extensions
          Assignee: adrianba@microsoft.com
          Reporter: cpearce@mozilla.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

Step 3 of the MediaKeys.create() function's specification
[https://dvcs.w3.org/hg/html-media/raw-file/default/encrypted-media/encrypted-media.html#dom-create]
says:

"If keySystem is not supported or not allowed on the origin of the media
element's Document, return a promise rejected with a new DOMException whose
name is "NotSupportedError"."

This mentions a media element, but the MediaKeys is not yet associated with a
media element at this stage; the MediaKeys object does not even exist yet!

Perhaps that should be:

"If keySystem is not supported or not allowed in the origin of calling
context's Document..."

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

Received on Wednesday, 17 September 2014 04:50:22 UTC