14 lines
718 B
Plaintext
14 lines
718 B
Plaintext
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
|
|
|