| 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 no ar
gument | 3 1. Verifying XMLSerializer.serializeToString() should THROW exception with no ar
gument |
| 4 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri
alizer': 1 argument required, but only 0 present.] | 4 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri
alizer': 1 argument required, but only 0 present.] |
| 5 PASS | 5 PASS |
| 6 | 6 |
| 7 2. Verifying XMLSerializer.serializeToString() should THROW exception with argum
ent null | 7 2. Verifying XMLSerializer.serializeToString() should THROW exception with argum
ent null |
| 8 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri
alizer': parameter 1 is not of type 'Node'.] | 8 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri
alizer': parameter 1 is not of type 'Node'.] |
| 9 PASS | 9 PASS |
| 10 | 10 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 PASS | 42 PASS |
| 43 | 43 |
| 44 13. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with
argument [object HTMLHtmlElement] | 44 13. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with
argument [object HTMLHtmlElement] |
| 45 PASS | 45 PASS |
| 46 | 46 |
| 47 14. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with
argument [object XMLDocument] | 47 14. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with
argument [object XMLDocument] |
| 48 PASS | 48 PASS |
| 49 | 49 |
| 50 15. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with
argument [object Element] | 50 15. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with
argument [object Element] |
| 51 PASS | 51 PASS |
| OLD | NEW |