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

Unified Diff: LayoutTests/fast/dom/incompatible-operations-expected.txt

Issue 374093002: Node.appendChild should throw TypeError when newChild is not an object (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix layout test Created 6 years, 5 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-expected.txt
diff --git a/LayoutTests/fast/dom/incompatible-operations-expected.txt b/LayoutTests/fast/dom/incompatible-operations-expected.txt
index dd27a04ef27bad85eaa973bfd18c36f3dd1d048e..d95344f3f91645f3cc76bfee20c557278f8fd0c7 100644
--- a/LayoutTests/fast/dom/incompatible-operations-expected.txt
+++ b/LayoutTests/fast/dom/incompatible-operations-expected.txt
@@ -3,9 +3,9 @@ This test checks the behavior of DOM operations when called on non-DOM or incomp
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS aNode.appendChild(aDOMImplementation) threw exception NotFoundError: Failed to execute 'appendChild' on 'Node': The new child element is null..
-PASS aNode.appendChild('knort') threw exception NotFoundError: Failed to execute 'appendChild' on 'Node': The new child element is null..
-PASS aNode.appendChild(void 0) threw exception NotFoundError: Failed to execute 'appendChild' on 'Node': The new child element is null..
+PASS aNode.appendChild(aDOMImplementation) threw exception TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'..
+PASS aNode.appendChild('knort') threw exception TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'..
+PASS aNode.appendChild(void 0) threw exception TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'..
PASS aNode.isSameNode(aDOMImplementation) is false
PASS aNode.isSameNode('foo') is false
PASS aNode.isSameNode(void 0) is false
« no previous file with comments | « LayoutTests/fast/dom/incompatible-operations.html ('k') | LayoutTests/fast/dom/move-nodes-across-documents.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698