blob: d096c28d3310cf12ddd6c0c70b9c2fa719365eca [file] [log] [blame]
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div id='aWildId'>Wild</div>
<script>
description('Test the JavaScript property descriptor of the name getter.');
var NodeList = document.getElementsByTagName('div');
shouldBeTrue("Object.getOwnPropertyDescriptor(NodeList, 'aWildId').configurable");
shouldBeFalse("Object.getOwnPropertyDescriptor(NodeList, 'aWildId').enumerable");
shouldBeFalse("Object.getOwnPropertyDescriptor(NodeList, 'aWildId').writable");
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>