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

Unified Diff: third_party/WebKit/LayoutTests/svg/custom/script-tests/SVGException.js

Issue 1366643003: [DO NOT LAND] Set @@toStringTag for DOM object prototypes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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: third_party/WebKit/LayoutTests/svg/custom/script-tests/SVGException.js
diff --git a/third_party/WebKit/LayoutTests/svg/custom/script-tests/SVGException.js b/third_party/WebKit/LayoutTests/svg/custom/script-tests/SVGException.js
index 842ba01a66c347f75e08067c78265ae9da1a3283..b058be0cc90fdb7cfbbd5f5b866b86c0aca219e2 100644
--- a/third_party/WebKit/LayoutTests/svg/custom/script-tests/SVGException.js
+++ b/third_party/WebKit/LayoutTests/svg/custom/script-tests/SVGException.js
@@ -12,7 +12,7 @@ try {
shouldBeEqualToString("e.toString()", "InvalidAccessError: Failed to execute 'rotateFromVector' on 'SVGMatrix': Arguments cannot be zero.");
shouldBeEqualToString("Object.prototype.toString.call(e)", "[object DOMException]");
-shouldBeEqualToString("Object.prototype.toString.call(e.__proto__)", "[object DOMExceptionPrototype]");
+shouldBeEqualToString("Object.prototype.toString.call(e.__proto__)", "[object DOMException]");
shouldBeEqualToString("e.constructor.toString()", "function DOMException() { [native code] }");
shouldBe("e.constructor", "window.DOMException");

Powered by Google App Engine
This is Rietveld 408576698