Side by Side Diff: LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js
Issue 385073015:
Node.replaceChild and Node.removeChild do not use custom binding anymore (Closed)
Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Take review comment into consideration
Created 6 years, 5 months ago
Use n/p to move between diff chunks;
N/P to move between comments.
Draft comments are only viewable by you.
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: Failed to execute \'replaceChild\' on \'Node\': The node to be replaced is null."');
3shouldThrow('document.replaceChild(document.firstChild, null)', '"TypeError: Failed to execute \'replaceChild\' on \'Node\': parameter 2 is not of type \'Node\'."');
Issue 385073015: Node.replaceChild and Node.removeChild do not use custom binding anymore
(Closed)
Created 6 years, 5 months ago by kangil_
Modified 6 years, 5 months ago
Reviewers: tkent, haraken
Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Comments: 10