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

Side by Side 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 unified diff | Download patch
OLDNEW
1 Test that appropriate exceptions are thrown when adding children to a Processing Instruction. 1 Test that appropriate exceptions are thrown when adding children to a Processing Instruction.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS pi.appendChild(null) threw exception HierarchyRequestError: Failed to execu te 'appendChild' on 'Node': This node type does not support this method.. 6 PASS pi.appendChild(null) threw exception TypeError: Failed to execute 'appendCh ild' on 'Node': parameter 1 is not of type 'Node'..
7 PASS pi.appendChild(div) threw exception HierarchyRequestError: Failed to execut e 'appendChild' on 'Node': This node type does not support this method.. 7 PASS pi.appendChild(div) threw exception HierarchyRequestError: Failed to execut e 'appendChild' on 'Node': This node type does not support this method..
8 PASS pi.appendChild(textNode) threw exception HierarchyRequestError: Failed to e xecute 'appendChild' on 'Node': This node type does not support this method.. 8 PASS pi.appendChild(textNode) threw exception HierarchyRequestError: Failed to e xecute 'appendChild' on 'Node': This node type does not support this method..
9 PASS successfullyParsed is true 9 PASS successfullyParsed is true
10 10
11 TEST COMPLETE 11 TEST COMPLETE
12 12
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698