[Bug 27353] [MSE] Convert exceptions from xxx_ERR to xxxError form and fix broken links

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

--- Comment #2 from Aaron Colwell <acolwell@google.com> ---
(In reply to David Dorwin from comment #1)
> DOM Exception has been moved to Web IDL
> (http://heycam.github.io/webidl/#idl-DOMException) as noted in the DOM4 LCWD
> (http://www.w3.org/TR/dom/#errors). encrypted-media.js has been updated to
> use the Web IDL locations. However, it's not clear which we should reference
> (see EME bug 26372).

Hmm... I was planning on using http://www.w3.org/TR/dom/ since that appears to
be what HTML5 uses, but the nasty warning about the definitions moving to
WebIDL (http://www.w3.org/TR/dom/#errors) makes me worried that pointing to the
DOM4 spec will just break again at some point in the future. 

It also isn't clear to me what the implications are of pointing to a different
version of WebIDL than what the HTML spec points to. HTML5 points to
http://www.w3.org/TR/WebIDL/ while HTML5.1 points to 
http://dev.w3.org/2006/webapi/WebIDL/ . The later has the exception definitions
and the former doesn't.

The simplest solution I can come up with is pointing to the stub definitions in
 the HTML
spec(http://www.w3.org/html/wg/drafts/html/master/infrastructure.html#throw).
That way at least MSE and HTML will always point to the same place.

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

Received on Monday, 17 November 2014 19:52:17 UTC