blob: 75483dc23528114fd1d07ffd9370823b3359f1ae [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../../../resources/js-test-pre.js"></script>
<script>
description("Tests that document.adoptNode(null) throws a TypeError");
shouldThrowErrorName("document.adoptNode(null)", "TypeError");
shouldThrowErrorName("document.adoptNode()", "TypeError");
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>