WebCore: Fixes part of <webkit.org/b/30522>.
Web Inspector: DOM Exceptions throughout the Inspector should be more human readable.
Reviewed by Eric Seidel.
Expose the description attribute that is now a member of
ExceptionBase as of r49723, so when a user logs an exception, they
can see the description in the Web Inspector.
Test: fast/dom/dom-exception-description.html
* dom/DOMCoreException.idl:
* dom/EventException.idl:
* dom/RangeException.idl:
* svg/SVGException.idl:
* xml/XMLHttpRequestException.idl:
* xml/XPathException.idl:
LayoutTests: Fixes part of <http://webkit.org/b/30522>.
Web Inspector: DOM Exceptions throughout the Inspector should be more human readable.
Reviewed by Eric Seidel.
Adds a test to check the name and description of some DOM Exceptions.
* fast/dom/dom-exception-description-expected.txt: Added.
* fast/dom/dom-exception-description.html: Added.
* fast/dom/script-tests/dom-exception-description.js: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49922 268f45cc-cd09-0410-ab3c-d52691b4dbfc