1 description('Test behavior of Document.replaceChild() when oldChild is null.');
1 description('Test behavior of Document.replaceChild() when oldChild is null.');
2
2
3shouldThrow('document.replaceChild(document.firstChild, null)', '"NotFoundError:An attempt was made to reference a Node in a context where it does not exist."');
3shouldThrow('document.replaceChild(document.firstChild, null)', '"NotFoundError:Failed to execute \'replaceChild\' on \'ContainerNode\': The node to be replaced is null."');
Issue 23889039: Improve 'ContainerNode' exception messages.
(Closed)
Created 7 years, 3 months ago by Mike West
Modified 7 years, 2 months ago
Reviewers: jochen (gone - plz use gerrit), arv (Not doing code reviews)
Base URL: svn://svn.chromium.org/blink/trunk
Comments: 1