Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / Element / attr-param-typechecking-expected.txt
1 This test checks whether passing wrong types to setAttributeNode causes a crash.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 PASS element.setAttributeNode("style"); threw exception TypeMismatchError: Failed to execute 'setAttributeNode' on 'Element': The node provided is invalid..
7 PASS element.setAttributeNode(null); threw exception TypeMismatchError: Failed to execute 'setAttributeNode' on 'Element': The node provided is invalid..
8 PASS element.setAttributeNode(undefined); threw exception TypeMismatchError: Failed to execute 'setAttributeNode' on 'Element': The node provided is invalid..
9 PASS element.setAttributeNode(new Object); threw exception TypeMismatchError: Failed to execute 'setAttributeNode' on 'Element': The node provided is invalid..
10 PASS element.removeAttributeNode("style"); threw exception TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The node provided is invalid..
11 PASS element.removeAttributeNode(null); threw exception TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The node provided is invalid..
12 PASS element.removeAttributeNode(undefined); threw exception TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The node provided is invalid..
13 PASS element.removeAttributeNode(new Object); threw exception TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The node provided is invalid..
14 PASS successfullyParsed is true
15
16 TEST COMPLETE
17