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

Unified Diff: LayoutTests/fast/dom/processing-instruction-appendChild-exceptions-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/processing-instruction-appendChild-exceptions-expected.txt
diff --git a/LayoutTests/fast/dom/processing-instruction-appendChild-exceptions-expected.txt b/LayoutTests/fast/dom/processing-instruction-appendChild-exceptions-expected.txt
index 2eb6658d72cbb9d9b317ecc88d0060e3b7d37a7c..2e2f0e9376de69b5a155450b4c9a8ae8c265dc1e 100644
--- a/LayoutTests/fast/dom/processing-instruction-appendChild-exceptions-expected.txt
+++ b/LayoutTests/fast/dom/processing-instruction-appendChild-exceptions-expected.txt
@@ -3,7 +3,7 @@ Test that appropriate exceptions are thrown when adding children to a Processing
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS pi.appendChild(null) threw exception HierarchyRequestError: Failed to execute 'appendChild' on 'Node': This node type does not support this method..
+PASS pi.appendChild(null) threw exception TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'..
PASS pi.appendChild(div) threw exception HierarchyRequestError: Failed to execute 'appendChild' on 'Node': This node type does not support this method..
PASS pi.appendChild(textNode) threw exception HierarchyRequestError: Failed to execute 'appendChild' on 'Node': This node type does not support this method..
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698