WebCore: Fixes part of <http://webkit.org/b/30522>.
commitfdf2635b9cb33af6dec80020c58cde5f077c0f14
authorbweinstein@apple.com <bweinstein@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Oct 2009 21:51:20 +0000 (21 21:51 +0000)
committerbweinstein@apple.com <bweinstein@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Oct 2009 21:51:20 +0000 (21 21:51 +0000)
treef441c9efc97453208bf08d504aa3f15cc9f1867d
parent9fad4aa3d9cc0921f0cbbce5b0476979f11e4ad9
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
LayoutTests/ChangeLog
LayoutTests/fast/dom/dom-exception-description-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/dom-exception-description.html [new file with mode: 0644]
LayoutTests/fast/dom/script-tests/dom-exception-description.js [new file with mode: 0755]
WebCore/ChangeLog
WebCore/dom/DOMCoreException.idl
WebCore/dom/EventException.idl
WebCore/dom/RangeException.idl
WebCore/svg/SVGException.idl
WebCore/xml/XMLHttpRequestException.idl
WebCore/xml/XPathException.idl