1 Tests that DOMError is constructible.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS error = new DOMError('NotFoundError', 'This item was not found.') did not throw 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