blob: 876261d93f151c98fb4befbb47d6785aaafbaa15 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description('Test behavior of Document.replaceChild() when oldChild is null.');
shouldThrow('document.replaceChild(document.firstChild, null)');
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>