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

Side by Side 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 unified diff | Download patch
OLDNEW
1 This test checks the behavior of DOM operations when called on non-DOM or incomp atible receivers with non-DOM or incompatible arguments. 1 This test checks the behavior of DOM operations when called on non-DOM or incomp atible receivers with non-DOM or incompatible arguments.
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 aNode.appendChild(aDOMImplementation) threw exception NotFoundError: Failed to execute 'appendChild' on 'Node': The new child element is null.. 6 PASS aNode.appendChild(aDOMImplementation) threw exception TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'..
7 PASS aNode.appendChild('knort') threw exception NotFoundError: Failed to execute 'appendChild' on 'Node': The new child element is null.. 7 PASS aNode.appendChild('knort') threw exception TypeError: Failed to execute 'ap pendChild' on 'Node': parameter 1 is not of type 'Node'..
8 PASS aNode.appendChild(void 0) threw exception NotFoundError: Failed to execute 'appendChild' on 'Node': The new child element is null.. 8 PASS aNode.appendChild(void 0) threw exception TypeError: Failed to execute 'app endChild' on 'Node': parameter 1 is not of type 'Node'..
9 PASS aNode.isSameNode(aDOMImplementation) is false 9 PASS aNode.isSameNode(aDOMImplementation) is false
10 PASS aNode.isSameNode('foo') is false 10 PASS aNode.isSameNode('foo') is false
11 PASS aNode.isSameNode(void 0) is false 11 PASS aNode.isSameNode(void 0) is false
12 PASS aNode.lookupPrefix(aDOMImplementation) is null 12 PASS aNode.lookupPrefix(aDOMImplementation) is null
13 PASS aNode.lookupPrefix(void 0) is null 13 PASS aNode.lookupPrefix(void 0) is null
14 PASS aNode.cloneNode(aDOMImplementation) instanceof HTMLDivElement is true 14 PASS aNode.cloneNode(aDOMImplementation) instanceof HTMLDivElement is true
15 PASS aSelect.add(aDOMImplementation, aDOMImplementation) threw exception TypeErr or: Failed to execute 'add' on 'HTMLSelectElement': parameter 1 is not of type ' HTMLElement'.. 15 PASS aSelect.add(aDOMImplementation, aDOMImplementation) threw exception TypeErr or: Failed to execute 'add' on 'HTMLSelectElement': parameter 1 is not of type ' HTMLElement'..
16 PASS aSelect.add(aDOMImplementation, anOption) threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': parameter 1 is not of type 'HTMLElemen t'.. 16 PASS aSelect.add(aDOMImplementation, anOption) threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': parameter 1 is not of type 'HTMLElemen t'..
17 PASS aSelect.add(void 0, void 0) threw exception TypeError: Failed to execute 'a dd' on 'HTMLSelectElement': parameter 1 is not of type 'HTMLElement'.. 17 PASS aSelect.add(void 0, void 0) threw exception TypeError: Failed to execute 'a dd' on 'HTMLSelectElement': parameter 1 is not of type 'HTMLElement'..
18 PASS aSelect.add(void 0, anOption) threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': parameter 1 is not of type 'HTMLElement'.. 18 PASS aSelect.add(void 0, anOption) threw exception TypeError: Failed to execute 'add' on 'HTMLSelectElement': parameter 1 is not of type 'HTMLElement'..
19 PASS aSelect.add(anOption, aDOMImplementation) is undefined. 19 PASS aSelect.add(anOption, aDOMImplementation) is undefined.
20 PASS aSelect.add(anOption, void 0) is undefined. 20 PASS aSelect.add(anOption, void 0) is undefined.
21 PASS successfullyParsed is true 21 PASS successfullyParsed is true
22 22
23 TEST COMPLETE 23 TEST COMPLETE
24 24
OLDNEW
« 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