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

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

Issue 1017733003: [DO NOT LAND] Set @@toStringTag for DOM object prototypes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test expectations Created 5 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 f92cfe5dbfe8304ef83742ffc51de120519a73f7..f81758917397217fcb3d7e4b698f4834792ed011 100644
--- a/LayoutTests/fast/dom/DOMException/resources/dispatch-event-exception.js
+++ b/LayoutTests/fast/dom/DOMException/resources/dispatch-event-exception.js
@@ -10,7 +10,6 @@ try {
shouldBeEqualToString("e.toString()", "InvalidStateError: Failed to execute 'dispatchEvent' on 'EventTarget': The event provided is null.");
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