OLD | NEW |
1 This test checks whether passing wrong types to setAttributeNode causes a crash. | 1 This test checks whether passing wrong types to setAttributeNode causes a crash. |
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 element.setAttributeNode("style"); threw exception TypeMismatchError: Faile
d to execute 'setAttributeNode' on 'Element': The 1st argument provided is eithe
r null, or an invalid Attr object.. | 6 PASS element.setAttributeNode("style"); threw exception TypeError: Failed to exe
cute 'setAttributeNode' on 'Element': parameter 1 is not of type 'Attr'.. |
7 PASS element.setAttributeNode(null); threw exception TypeMismatchError: Failed t
o execute 'setAttributeNode' on 'Element': The 1st argument provided is either n
ull, or an invalid Attr object.. | 7 PASS element.setAttributeNode(null); threw exception TypeError: Failed to execut
e 'setAttributeNode' on 'Element': parameter 1 is not of type 'Attr'.. |
8 PASS element.setAttributeNode(undefined); threw exception TypeMismatchError: Fai
led to execute 'setAttributeNode' on 'Element': The 1st argument provided is eit
her null, or an invalid Attr object.. | 8 PASS element.setAttributeNode(undefined); threw exception TypeError: Failed to e
xecute 'setAttributeNode' on 'Element': parameter 1 is not of type 'Attr'.. |
9 PASS element.setAttributeNode(new Object); threw exception TypeMismatchError: Fa
iled to execute 'setAttributeNode' on 'Element': The 1st argument provided is ei
ther null, or an invalid Attr object.. | 9 PASS element.setAttributeNode(new Object); threw exception TypeError: Failed to
execute 'setAttributeNode' on 'Element': parameter 1 is not of type 'Attr'.. |
10 PASS element.removeAttributeNode("style"); threw exception TypeMismatchError: Fa
iled to execute 'removeAttributeNode' on 'Element': The 1st argument provided is
either null, or an invalid Attr object.. | 10 PASS element.removeAttributeNode("style"); threw exception TypeError: Failed to
execute 'removeAttributeNode' on 'Element': parameter 1 is not of type 'Attr'.. |
11 PASS element.removeAttributeNode(null); threw exception TypeMismatchError: Faile
d to execute 'removeAttributeNode' on 'Element': The 1st argument provided is ei
ther null, or an invalid Attr object.. | 11 PASS element.removeAttributeNode(null); threw exception TypeError: Failed to exe
cute 'removeAttributeNode' on 'Element': parameter 1 is not of type 'Attr'.. |
12 PASS element.removeAttributeNode(undefined); threw exception TypeMismatchError:
Failed to execute 'removeAttributeNode' on 'Element': The 1st argument provided
is either null, or an invalid Attr object.. | 12 PASS element.removeAttributeNode(undefined); threw exception TypeError: Failed t
o execute 'removeAttributeNode' on 'Element': parameter 1 is not of type 'Attr'.
. |
13 PASS element.removeAttributeNode(new Object); threw exception TypeMismatchError:
Failed to execute 'removeAttributeNode' on 'Element': The 1st argument provided
is either null, or an invalid Attr object.. | 13 PASS element.removeAttributeNode(new Object); threw exception TypeError: Failed
to execute 'removeAttributeNode' on 'Element': parameter 1 is not of type 'Attr'
.. |
14 PASS element.setAttributeNodeNS("style"); threw exception TypeMismatchError: Fai
led to execute 'setAttributeNodeNS' on 'Element': The 1st argument provided is e
ither null, or an invalid Attr object.. | 14 PASS element.setAttributeNodeNS("style"); threw exception TypeError: Failed to e
xecute 'setAttributeNodeNS' on 'Element': parameter 1 is not of type 'Attr'.. |
15 PASS element.setAttributeNodeNS(null); threw exception TypeMismatchError: Failed
to execute 'setAttributeNodeNS' on 'Element': The 1st argument provided is eith
er null, or an invalid Attr object.. | 15 PASS element.setAttributeNodeNS(null); threw exception TypeError: Failed to exec
ute 'setAttributeNodeNS' on 'Element': parameter 1 is not of type 'Attr'.. |
16 PASS element.setAttributeNodeNS(undefined); threw exception TypeMismatchError: F
ailed to execute 'setAttributeNodeNS' on 'Element': The 1st argument provided is
either null, or an invalid Attr object.. | 16 PASS element.setAttributeNodeNS(undefined); threw exception TypeError: Failed to
execute 'setAttributeNodeNS' on 'Element': parameter 1 is not of type 'Attr'.. |
17 PASS element.setAttributeNodeNS(new Object); threw exception TypeMismatchError:
Failed to execute 'setAttributeNodeNS' on 'Element': The 1st argument provided i
s either null, or an invalid Attr object.. | 17 PASS element.setAttributeNodeNS(new Object); threw exception TypeError: Failed t
o execute 'setAttributeNodeNS' on 'Element': parameter 1 is not of type 'Attr'.. |
18 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
19 | 19 |
20 TEST COMPLETE | 20 TEST COMPLETE |
21 | 21 |
OLD | NEW |