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

Unified Diff: LayoutTests/fast/dom/incompatible-operations.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/incompatible-operations.html
diff --git a/LayoutTests/fast/dom/incompatible-operations.html b/LayoutTests/fast/dom/incompatible-operations.html
index 7b996522fd2f78093c71acaae6d8999f7bcd8264..3965a68b627f8032a164c86cc60e499416d2ad7a 100644
--- a/LayoutTests/fast/dom/incompatible-operations.html
+++ b/LayoutTests/fast/dom/incompatible-operations.html
@@ -28,11 +28,11 @@ var aNode = document.createElement("div");
var aSecondNode = document.createElement("div");
aNode.appendChild(aSecondNode);
-shouldThrow("aNode.appendChild(aDOMImplementation)", "'Error: NotFoundError: DOM Exception 8'");
+shouldThrow("aNode.appendChild(aDOMImplementation)", "'NotFoundError: An attempt was made to reference a Node in a context where it does not exist.'");
-shouldThrow("aNode.appendChild('knort')", "'Error: NotFoundError: DOM Exception 8'");
+shouldThrow("aNode.appendChild('knort')", "'NotFoundError: An attempt was made to reference a Node in a context where it does not exist.'");
-shouldThrow("aNode.appendChild(void 0)", "'Error: NotFoundError: DOM Exception 8'");
+shouldThrow("aNode.appendChild(void 0)", "'NotFoundError: An attempt was made to reference a Node in a context where it does not exist.'");
shouldBeFalse("aNode.isSameNode(aDOMImplementation)");
shouldBeFalse("aNode.isSameNode('foo')");
« no previous file with comments | « LayoutTests/fast/dom/importNode-null-expected.txt ('k') | LayoutTests/fast/dom/incompatible-operations-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698