<!DOCTYPE html>
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<script>
shouldBe('Node.prototype.cloneNode.length', '0');
var div = document.createElement('div');
div.innerHTML = '<a></a>';
shouldBeFalse('div.cloneNode().hasChildNodes()');
shouldBe('div.cloneNode().childNodes.length', '0');
</script>
</body>
</html>