Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Document / script-tests / replaceChild-null-oldChild.js
blob9813699bd72485f14d5b399d4e9e48dc14bc0d25
1 description('Test behavior of Document.replaceChild() when oldChild is null.');
3 shouldThrow('document.replaceChild(document.firstChild, null)', '"TypeError: Failed to execute \'replaceChild\' on \'Node\': parameter 2 is not of type \'Node\'."');