Tests type enforcement on DOM setters. | |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". | |
PASS document.body = nodelist; threw exception TypeError: Failed to set the 'body' property on 'Document': The provided value is not of type 'HTMLElement'.. | |
PASS successfullyParsed is true | |
TEST COMPLETE | |