https://github.com/web-platform-tests/wpt
Raw File
Tip revision: f1a4e49db7174db444193a687b6581526b1903ab authored by Fergal Daly on 05 April 2018, 06:33:47 UTC
CSS: Add WPT tests for basic ::part() functionality.
Tip revision: f1a4e49
Gyroscope_insecure_context.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>Gyroscope Test: insecure context</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="help" href="https://www.w3.org/TR/gyroscope/">
<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>Precondition</h2>
<ol>
  <li>
    Run test in an insecure context, e.g. http://example.com/.
  </li>
</ol>
<script>

runGenericSensorInsecureContext("Gyroscope");

</script>
back to top