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

Unified Diff: LayoutTests/fast/dom/DOMException/resources/dispatch-event-exception.js

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/resources/dispatch-event-exception.js
diff --git a/LayoutTests/fast/dom/DOMException/resources/dispatch-event-exception.js b/LayoutTests/fast/dom/DOMException/resources/dispatch-event-exception.js
index 729df5093f399b0a482289d715ee6bca0c5d8da5..33e04d90001f6484112f334095858e1446f200a2 100644
--- a/LayoutTests/fast/dom/DOMException/resources/dispatch-event-exception.js
+++ b/LayoutTests/fast/dom/DOMException/resources/dispatch-event-exception.js
@@ -8,7 +8,7 @@ try {
e = err;
}
-shouldBeEqualToString("e.toString()", "Error: InvalidStateError: DOM Exception 11");
+shouldBeEqualToString("e.toString()", "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.");
shouldBeEqualToString("Object.prototype.toString.call(e)", "[object DOMException]");
shouldBeEqualToString("Object.prototype.toString.call(e.__proto__)", "[object DOMExceptionPrototype]");
shouldBeEqualToString("e.constructor.toString()", "function DOMException() { [native code] }");
« no previous file with comments | « LayoutTests/fast/dom/DOMException/resources/XPathException.js ('k') | LayoutTests/fast/dom/DOMException/stack-trace.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698