blob: ae833835d3baaaf99be53d2bc0e92d65be297741 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="../fast/forms/resources/picker-common.js"></script>
<input type=date id=date>
<script>
test(function() {
function popupCallback() {
assert_equals(popupWindow.screen.orientation, null);
}
openPicker(document.getElementById('date'), popupCallback);
}, "Verify that accessing screen.orientation where unsupported doesn't crash.");
</script>
</body>
</html>