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

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

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/prototype-object.html
diff --git a/LayoutTests/fast/dom/DOMException/prototype-object.html b/LayoutTests/fast/dom/DOMException/prototype-object.html
index eb3115aa313c8572d9a0689b4dfbbfd8c436b0b6..b81ae9ce18342bff2896ad25de5a46896cd6ce0f 100644
--- a/LayoutTests/fast/dom/DOMException/prototype-object.html
+++ b/LayoutTests/fast/dom/DOMException/prototype-object.html
@@ -12,7 +12,7 @@ try {
e = err;
}
-shouldBeEqualToString("e.toString()", "Error: HierarchyRequestError: DOM Exception 3");
+shouldBeEqualToString("e.toString()", "HierarchyRequestError: A Node was inserted somewhere it doesn't belong.");
shouldBeEqualToString("Object.prototype.toString.call(e)", "[object DOMException]");
shouldBeEqualToString("Object.prototype.toString.call(e.__proto__)", "[object DOMExceptionPrototype]");
shouldBeEqualToString("Object.prototype.toString.call(e.__proto__.__proto__)", "[object Error]");
@@ -24,7 +24,7 @@ shouldBe("e.HIERARCHY_REQUEST_ERR", "e.constructor.HIERARCHY_REQUEST_ERR");
shouldBe("e.HIERARCHY_REQUEST_ERR", "3");
shouldBe("e.code", "3");
shouldBeEqualToString("e.name", "HierarchyRequestError");
-shouldBeEqualToString("e.message", "HierarchyRequestError: DOM Exception 3");
+shouldBeEqualToString("e.message", "A Node was inserted somewhere it doesn't belong.");
</script>
<script src="../../js/resources/js-test-post.js"></script>

Powered by Google App Engine
This is Rietveld 408576698