OLD | NEW |
| 1 CONSOLE WARNING: 'Element.setAttributeNodeNS' is deprecated and has been removed
from DOM4 (http://w3.org/tr/dom). |
1 This test checks whether passing wrong types to setAttributeNode causes a crash. | 2 This test checks whether passing wrong types to setAttributeNode causes a crash. |
2 | 3 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 5 |
5 | 6 |
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.. | 7 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.. |
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.. | 8 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.. |
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.. | 9 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.. |
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.. | 10 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.. |
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.. | 11 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.. |
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.. | 12 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.. |
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.. | 13 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.. |
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.. | 14 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.. |
| 15 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.. |
| 16 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.. |
| 17 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.. |
| 18 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.. |
14 PASS successfullyParsed is true | 19 PASS successfullyParsed is true |
15 | 20 |
16 TEST COMPLETE | 21 TEST COMPLETE |
17 | 22 |
OLD | NEW |