https://github.com/web-platform-tests/wpt
Raw File
Tip revision: d45dfd0b79e4f33d42cac5fdcb0d5c8d0cc83d83 authored by Anne van Kesteren on 25 January 2018, 10:51:01 UTC
more clearly indicate where these tests originate (needed in particular for those stuffed in /html/ somewhere)
Tip revision: d45dfd0
OrientationSensor_insecure_context.html
<meta charset="utf-8">
<title>AbsoluteOrientationSensor Test: insecure context</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="help" href="https://w3c.github.io/orientation-sensor/">
<link rel="help" href="https://w3c.github.io/sensors/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/generic-sensor/generic-sensor-tests.js"></script>
<div id="log"></div>
<h2>Note:</h2>
<ol>
  <li>
    Run test in an insecure context, e.g. http://example.com/.
  </li>
</ol>
<script>

runGenericSensorInsecureContext("AbsoluteOrientationSensor");
runGenericSensorInsecureContext("RelativeOrientationSensor");

</script>
back to top