<!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>
