blob: 74ed90840ed97468e6898f87d8390b2753a70c52 [file] [log] [blame]
Test insertAdjacentHTML exceptions to make sure they match HTML5
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS div.insertAdjacentHTML('beforeBegin', 'text') threw exception NoModificationAllowedError: The object can not be modified..
PASS div.insertAdjacentHTML('afterEnd', 'text') threw exception NoModificationAllowedError: The object can not be modified..
PASS div.insertAdjacentHTML('FOO', 'text') threw exception SyntaxError: The string did not match the expected pattern..
PASS document.documentElement.insertAdjacentHTML('afterEnd', 'text') threw exception NoModificationAllowedError: The object can not be modified..
PASS successfullyParsed is true
TEST COMPLETE