| 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 node provided is invalid.. | 6 PASS element.setAttributeNode("style"); threw exception TypeMismatchError: Faile
d to execute 'setAttributeNode' on 'Element': The node provided is invalid.. |
| 7 PASS element.setAttributeNode(null); threw exception TypeMismatchError: Failed t
o execute 'setAttributeNode' on 'Element': The node provided is invalid.. | 7 PASS element.setAttributeNode(null); threw exception TypeMismatchError: Failed t
o execute 'setAttributeNode' on 'Element': The node provided is invalid.. |
| 8 PASS element.setAttributeNode(undefined); threw exception TypeMismatchError: Fai
led to execute 'setAttributeNode' on 'Element': The node provided is invalid.. | 8 PASS element.setAttributeNode(undefined); threw exception TypeMismatchError: Fai
led to execute 'setAttributeNode' on 'Element': The node provided is invalid.. |
| 9 PASS element.setAttributeNode(new Object); threw exception TypeMismatchError: Fa
iled to execute 'setAttributeNode' on 'Element': The node provided is invalid.. | 9 PASS element.setAttributeNode(new Object); threw exception TypeMismatchError: Fa
iled to execute 'setAttributeNode' on 'Element': The node provided is invalid.. |
| 10 PASS element.removeAttributeNode("style"); threw exception TypeMismatchError: Fa
iled to execute 'removeAttributeNode' on 'Element': The node provided is invalid
.. | 10 PASS element.removeAttributeNode("style"); threw exception TypeMismatchError: Fa
iled to execute 'removeAttributeNode' on 'Element': The node provided is invalid
.. |
| 11 PASS element.removeAttributeNode(null); threw exception TypeMismatchError: Faile
d to execute 'removeAttributeNode' on 'Element': The node provided is invalid.. | 11 PASS element.removeAttributeNode(null); threw exception TypeMismatchError: Faile
d 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 inval
id.. | 12 PASS element.removeAttributeNode(undefined); threw exception TypeMismatchError:
Failed to execute 'removeAttributeNode' on 'Element': The node provided is inval
id.. |
| 13 PASS element.removeAttributeNode(new Object); threw exception TypeMismatchError:
Failed to execute 'removeAttributeNode' on 'Element': The node provided is inva
lid.. | 13 PASS element.removeAttributeNode(new Object); threw exception TypeMismatchError:
Failed to execute 'removeAttributeNode' on 'Element': The node provided is inva
lid.. |
| 14 PASS element.setAttributeNodeNS("style"); threw exception TypeMismatchError: Fai
led to execute 'setAttributeNodeNS' on 'Element': The node provided is invalid.. | |
| 15 PASS element.setAttributeNodeNS(null); threw exception TypeMismatchError: Failed
to execute 'setAttributeNodeNS' on 'Element': The node provided is invalid.. | |
| 16 PASS element.setAttributeNodeNS(undefined); threw exception TypeMismatchError: F
ailed to execute 'setAttributeNodeNS' on 'Element': The node provided is invalid
.. | |
| 17 PASS element.setAttributeNodeNS(new Object); threw exception TypeMismatchError:
Failed to execute 'setAttributeNodeNS' on 'Element': The node provided is invali
d.. | |
| 18 PASS successfullyParsed is true | 14 PASS successfullyParsed is true |
| 19 | 15 |
| 20 TEST COMPLETE | 16 TEST COMPLETE |
| 21 | 17 |
| OLD | NEW |