Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / screen_orientation / screenorientation-unsupported-no-crash.html
blobae833835d3baaaf99be53d2bc0e92d65be297741
1 <!DOCTYPE html>
2 <html>
3 <body>
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>
8 <script>
9 test(function() {
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.");
15 </script>
16 </body>
17 </html>