Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / incompatible-operations-expected.txt
1 This test checks the behavior of DOM operations when called on non-DOM or incompatible receivers with non-DOM or incompatible arguments.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
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 TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'..
8 PASS aNode.appendChild(void 0) threw exception TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'..
9 PASS aNode.isSameNode(aDOMImplementation) is false
10 PASS aNode.isSameNode('foo') is false
11 PASS aNode.isSameNode(void 0) is false
12 PASS aNode.lookupPrefix(aDOMImplementation) is null
13 PASS aNode.lookupPrefix(void 0) is null
14 PASS aNode.cloneNode(aDOMImplementation) instanceof HTMLDivElement is true
15 PASS aSelect.add(aDOMImplementation, aDOMImplementation) threw exception TypeError: 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 'HTMLElement'..
17 PASS aSelect.add(void 0, void 0) 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.
20 PASS aSelect.add(anOption, void 0) is undefined.
21 PASS successfullyParsed is true
22
23 TEST COMPLETE
24