Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(846)

Unified Diff: LayoutTests/fast/dom/DOMException/dispatch-event-exception-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/DOMException/dispatch-event-exception-expected.txt
diff --git a/LayoutTests/fast/dom/DOMException/dispatch-event-exception-expected.txt b/LayoutTests/fast/dom/DOMException/dispatch-event-exception-expected.txt
index 809f8b2d991955eedce1e668895450fc180f91d3..ebb2ba7158634f42ab502db72d2e0a7564ab282e 100644
--- a/LayoutTests/fast/dom/DOMException/dispatch-event-exception-expected.txt
+++ b/LayoutTests/fast/dom/DOMException/dispatch-event-exception-expected.txt
@@ -3,7 +3,7 @@ Tests the properties of the exception thrown by dispatchEvent.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS e.toString() is "Error: InvalidStateError: DOM Exception 11"
+PASS e.toString() is "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable."
PASS Object.prototype.toString.call(e) is "[object DOMException]"
FAIL Object.prototype.toString.call(e.__proto__) should be [object DOMExceptionPrototype]. Was [object Object].
PASS e.constructor.toString() is "function DOMException() { [native code] }"
« no previous file with comments | « LayoutTests/fast/dom/DOMException/XPathException-expected.txt ('k') | LayoutTests/fast/dom/DOMException/prototype-object.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698