[Bug 25896] Why is EME creating new DOMException subclasses?

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

Jerry Smith <jdsmith@microsoft.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jdsmith@microsoft.com

--- Comment #4 from Jerry Smith <jdsmith@microsoft.com> ---
Providing a discrete systemCode for clarity still seems preferable.  A
DOMException message could get mingled with errors unrelated to EME.  That
could be resolved by adding a clear exception type to the WebIDL, but I've seen
some language that appears to discourage doing that.  If so, we could end up
using an existing type (or types), like SyntaxError for these messages.

If we do go in this direction, we should preserve the intent of this
MediaKeyError text (though modify it to remove the obsolete attribute):  

The systemCode attribute of a MediaKeySession object is a Key System-specific
value for the error that occurred. This allows a more granular status to be
returned than the more general name. It should be 0 if there is no associated
status code or such status codes are not supported by the Key System.

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

Received on Monday, 16 June 2014 19:07:03 UTC