OrientationSensor_insecure_context.html (712B)
1 <meta charset="utf-8"> 2 <title>AbsoluteOrientationSensor Test: insecure context</title> 3 <link rel="author" title="Intel" href="http://www.intel.com"> 4 <link rel="help" href="https://w3c.github.io/orientation-sensor/"> 5 <link rel="help" href="https://w3c.github.io/sensors/"> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 8 <script src="/generic-sensor/generic-sensor-tests.js"></script> 9 <div id="log"></div> 10 <h2>Note:</h2> 11 <ol> 12 <li> 13 Run test in an insecure context, e.g. http://example.com/. 14 </li> 15 </ol> 16 <script> 17 18 runGenericSensorInsecureContext("AbsoluteOrientationSensor"); 19 runGenericSensorInsecureContext("RelativeOrientationSensor"); 20 21 </script>