Sign in
webkit
/
WebKit
/
refs/heads/safari-4-branch
/
.
/
LayoutTests
/
fast
/
dom
/
Document
/
resources
/
replaceChild-null-oldChild.js
blob: c04c0a9c647a2551ad0d5469481e1c018301874d [
file
] [
log
] [
blame
]
description
(
'Test behavior of Document.replaceChild() when oldChild is null.'
);
shouldThrow
(
'document.replaceChild(document.firstChild, null)'
,
'"Error: NOT_FOUND_ERR: DOM Exception 8"'
);
var
successfullyParsed
=
true
;