<!DOCTYPE html> | |
<script src="../resources/js-test-pre.js"></script> | |
<script> | |
if (window.testRunner) | |
window.testRunner.dumpAsText(); | |
if (window.internals) | |
window.internals.settings.setWebVREnabled(false); | |
function runTest() { | |
if (!window.testRunner) | |
return; | |
shouldBeUndefined(navigator.getVRDisplays); | |
} | |
window.addEventListener("load", runTest, false); | |
</script> |