OLD | NEW |
(Empty) | |
| 1 Tests that DOMError is constructible. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS error = new DOMError('NotFoundError', 'This item was not found.') did not t
hrow exception. |
| 7 PASS error.name is "NotFoundError" |
| 8 PASS error.message is "This item was not found." |
| 9 PASS error = new DOMError('IndexSizeError') did not throw exception. |
| 10 PASS error.name is "IndexSizeError" |
| 11 PASS error.message is "" |
| 12 PASS new DOMError() threw exception TypeError: Failed to construct 'DOMError': 1
argument required, but only 0 present.. |
| 13 PASS successfullyParsed is true |
| 14 |
| 15 TEST COMPLETE |
| 16 |
OLD | NEW |