| Index: LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js
|
| diff --git a/LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js b/LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js
|
| index 3b833f00b4e4c4aab4f7e0a119c4dfc6c08120a9..9813699bd72485f14d5b399d4e9e48dc14bc0d25 100644
|
| --- a/LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js
|
| +++ b/LayoutTests/fast/dom/Document/script-tests/replaceChild-null-oldChild.js
|
| @@ -1,3 +1,3 @@
|
| description('Test behavior of Document.replaceChild() when oldChild is null.');
|
|
|
| -shouldThrow('document.replaceChild(document.firstChild, null)', '"NotFoundError: Failed to execute \'replaceChild\' on \'Node\': The node to be replaced is null."');
|
| +shouldThrow('document.replaceChild(document.firstChild, null)', '"TypeError: Failed to execute \'replaceChild\' on \'Node\': parameter 2 is not of type \'Node\'."');
|
|
|