W3C home > Mailing lists > Public > public-html-media@w3.org > February 2013

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 13 Feb 2013 22:26:55 +0000
To: public-html-media@w3.org
Message-ID: <bug-20991-5436@http.www.w3.org/Bugs/Public/>
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 on the CC list for the bug.
Received on Wednesday, 13 February 2013 22:26:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:32:58 UTC