blob: 7ed7311280eea162d783c861fe0d53757fb9a9a9 [file] [log] [blame]
Test behavior of Document.replaceChild() when oldChild is null.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.replaceChild(document.firstChild, null) threw exception TypeError: Argument 2 ('child') to Node.replaceChild must be an instance of Node.
PASS successfullyParsed is true
TEST COMPLETE