webvr-supported-by-feature-policy.html (553B)
1 <!DOCTYPE html> 2 <title>Test that (obsolete) vr is advertised in the feature list</title> 3 <!-- Some WebVR implementations used "vr", but this is now obsolete and WebXR is moving in a different direction.-->> 4 <link rel="help" href="https://github.com/immersive-web/webxr/issues/308"> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <script> 8 test(() => { 9 assert_in_array('vr', document.featurePolicy.features()); 10 }, 'document.featurePolicy.features should advertise (obsolete) vr.'); 11 </script>