| OLD | NEW |
| 1 This tests XMLSerializer.serializeToString() throwing exception when node value
is invalid and passing otherwise. | 1 This tests XMLSerializer.serializeToString() throwing exception when node value
is invalid and passing otherwise. |
| 2 | 2 |
| 3 1. Verifying XMLSerializer.serializeToString() should THROW exception with node
value = null | 3 1. Verifying XMLSerializer.serializeToString() should THROW exception with node
value = null |
| 4 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri
alizer': Invalid node value.] | 4 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri
alizer': Invalid node value.] |
| 5 PASS | 5 PASS |
| 6 | 6 |
| 7 2. Verifying XMLSerializer.serializeToString() should THROW exception with node
value = undefined | 7 2. Verifying XMLSerializer.serializeToString() should THROW exception with node
value = undefined |
| 8 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri
alizer': Invalid node value.] | 8 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri
alizer': Invalid node value.] |
| 9 PASS | 9 PASS |
| 10 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 10. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with
node value = [object HTMLUnknownElement] | 34 10. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with
node value = [object HTMLUnknownElement] |
| 35 PASS | 35 PASS |
| 36 | 36 |
| 37 11. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with
node value = [object HTMLDocument] | 37 11. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with
node value = [object HTMLDocument] |
| 38 PASS | 38 PASS |
| 39 | 39 |
| 40 12. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with
node value = [object HTMLHtmlElement] | 40 12. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with
node value = [object HTMLHtmlElement] |
| 41 PASS | 41 PASS |
| 42 | 42 |
| 43 13. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with
node value = [object Document] | 43 13. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with
node value = [object XMLDocument] |
| 44 PASS | 44 PASS |
| 45 | 45 |
| 46 14. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with
node value = [object Element] | 46 14. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with
node value = [object Element] |
| 47 PASS | 47 PASS |
| OLD | NEW |