[Bug 20991] New: MediaKeys constructor failure case refers to unknown "new object".

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

            Bug ID: 20991
           Summary: MediaKeys constructor failure case refers to unknown
                    "new object".
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Encrypted Media Extensions
          Assignee: adrianba@microsoft.com
          Reporter: jer.noble@apple.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

The failure case for the MediaKeys constructor confusingly refers to an unknown
"new object".

" 4.2 Set the new object's error attribute to the error object created in the
previous step."

No object was created in the previous step.  The only object with an "error"
attribute is a MediaKeySession object, which is not created by this
constructor.  

Either this step needs to be moved after step 5, and an error attribute added
to MediaKeySession, or step 4 needs to be changed to a "throw an exception"
step.

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

Received on Wednesday, 13 February 2013 22:26:59 UTC