4 <script src=
"../resources/testharness.js"></script>
5 <script src=
"../resources/testharnessreport.js"></script>
6 <script src=
"../fast/forms/resources/picker-common.js"></script>
7 <input type=date id=date
>
10 function popupCallback() {
11 assert_equals(popupWindow
.screen
.orientation
, null);
13 openPicker(document
.getElementById('date'), popupCallback
);
14 }, "Verify that accessing screen.orientation where unsupported doesn't crash.");