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

Unified Diff: LayoutTests/svg/custom/script-tests/SVGException.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/svg/custom/script-tests/SVGException.js
diff --git a/LayoutTests/svg/custom/script-tests/SVGException.js b/LayoutTests/svg/custom/script-tests/SVGException.js
index 44432e8f9a7a73d5a7bf49ced8f0938c6856f67e..8b4abb40838367058b4d884097a19ef0a832279f 100644
--- a/LayoutTests/svg/custom/script-tests/SVGException.js
+++ b/LayoutTests/svg/custom/script-tests/SVGException.js
@@ -10,7 +10,7 @@ try {
e = err;
}
-shouldBeEqualToString("e.toString()", "Error: SVG_INVALID_VALUE_ERR: DOM SVG Exception 1");
+shouldBeEqualToString("e.toString()", "SVG_INVALID_VALUE_ERR: An invalid value was passed to an operation or assigned to an attribute.");
shouldBeEqualToString("Object.prototype.toString.call(e)", "[object SVGException]");
shouldBeEqualToString("Object.prototype.toString.call(e.__proto__)", "[object SVGExceptionPrototype]");
shouldBeEqualToString("e.constructor.toString()", "function SVGException() { [native code] }");
« no previous file with comments | « LayoutTests/svg/custom/polyline-points-crash-expected.txt ('k') | LayoutTests/svg/custom/selectSubString-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698