Revision 2844c3745a2e52eebd3620ea0a4ab9991ce17d5c authored by James Graham on 15 April 2018, 09:22:37 UTC, committed by moz-wptsync-bot on 15 April 2018, 09:22:37 UTC
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1452952
gecko-commit: 55b99481fab156381335b6887fca26b6a8f0c0b3
gecko-integration-branch: mozilla-inbound
gecko-reviewers: ato
1 parent fd2badf
Raw File
Accelerometer_insecure_context.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>Accelerometer Test: insecure context</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="help" href="https://www.w3.org/TR/accelerometer/">
<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("Accelerometer");
runGenericSensorInsecureContext("GravitySensor");
runGenericSensorInsecureContext("LinearAccelerationSensor");

</script>
back to top