blob: 76c3f11d940ce3d40a038eb6c80d7c6ac9839449 [file] [log] [blame]
Test that parameters to insertAdjacentText() / insertAdjacentHTML() are mandatory.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.body.insertAdjacentText() threw exception TypeError: Not enough arguments.
PASS document.body.insertAdjacentText('beforebegin') threw exception TypeError: Not enough arguments.
PASS document.body.insertAdjacentHTML() threw exception TypeError: Not enough arguments.
PASS document.body.insertAdjacentHTML('beforebegin') threw exception TypeError: Not enough arguments.
PASS successfullyParsed is true
TEST COMPLETE