https://github.com/web-platform-tests/wpt
Raw File
Tip revision: e0169332c3bf5d25aafa38786026a0a86ae4a55a authored by Chris Harrelson on 24 December 2018, 21:55:55 UTC
Move visual overflow computation into the descendant-dependent tree walk.
Tip revision: e016933
Magnetometer_insecure_context.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>Magnetometer Test: insecure context</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="help" href="https://www.w3.org/TR/magnetometer/">
<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("Magnetometer");
runGenericSensorInsecureContext("UncalibratedMagnetometer");

</script>
back to top