blob: b87c700a72c410e1cbf5a8d1cbc79c99a8df9b17 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../../resources/js-test-pre.js"></script>
<script>
description('This tests that Document is constructable.');
shouldBe('typeof new Document', '"object"');
shouldBe('Object.prototype.toString.call(new Document)', '"[object Document]"');
shouldBeTrue('new Document instanceof Document');
shouldBe('Object.getPrototypeOf(new Document)', 'Document.prototype');
</script>
<script src="../../../resources/js-test-post.js"></script>