blob: d579b5fbf9fad7d91545c7e5a7b88cd26bf71074 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/js-test.js"></script>
</head>
<body>
<script>
description("This test should trigger the single exception on HTMLSelectElement, and verify that the message is reasonably helpful.");
var el = document.createElement('select');
shouldThrow("el[1] = 0;");
shouldThrow("el.namedItem()");
</script>
</body>
</html>