WebCore:
[WebKit-https.git] / LayoutTests / fast / dom / Document / resources / replaceChild-null-oldChild.js
1 description('Test behavior of Document.replaceChild() when oldChild is null.');
2
3 shouldThrow('document.replaceChild(document.firstChild, null)', '"Error: NOT_FOUND_ERR: DOM Exception 8"');
4
5 var successfullyParsed = true;