blob: c8c93ada65e1b13c32d583246f5f8181b927d6bc [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../../../resources/js-test-pre.js"></script>
<script>
description("Tests that the compatMode property getter is on Document and not HTMLDocument");
shouldBeUndefined("Object.getOwnPropertyDescriptor(HTMLDocument.prototype, 'compatMode')");
shouldBeType("Object.getOwnPropertyDescriptor(Document.prototype, 'compatMode').get", "Function");
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>