Compute accurate regions for touch-action
[WebKit-https.git] / LayoutTests / webvr / webvr-disabled.html
1 <!DOCTYPE html>
2 <script src="../resources/js-test-pre.js"></script>
3 <script>
4 if (window.testRunner)
5     window.testRunner.dumpAsText();
6
7 if (window.internals)
8     window.internals.settings.setWebVREnabled(false);
9
10 function runTest() {
11     if (!window.testRunner)
12         return;
13
14     shouldBeUndefined(navigator.getVRDisplays);
15 }
16
17 window.addEventListener("load", runTest, false);
18 </script>