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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/DOMException/prototype-object.html

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/fast/dom/DOMException/prototype-object.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/DOMException/prototype-object.html b/third_party/WebKit/LayoutTests/fast/dom/DOMException/prototype-object.html
index f15cc301ec84c9f672d47f546c241ab7cc50072b..001745c5a177b0c8771738a1fe881ceca284e67e 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/DOMException/prototype-object.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/DOMException/prototype-object.html
@@ -14,7 +14,7 @@ try {
shouldBeEqualToString("e.toString()", "HierarchyRequestError: Failed to execute 'appendChild' on 'Node': Nodes of type '#document' may not be inserted inside nodes of type '#document'.");
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("Object.prototype.toString.call(e.__proto__.__proto__)", "[object Error]");
shouldBeEqualToString("e.constructor.toString()", "function DOMException() { [native code] }");
shouldBeTrue("e instanceof DOMException");

Powered by Google App Engine
This is Rietveld 408576698