Revision dfc6293bd278f46fb6963950157a4f19b281dca4 authored by Ms2ger on 14 March 2018, 16:45:25 UTC, committed by Ms2ger on 14 March 2018, 16:45:25 UTC
1 parent e3d85ce
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="/sensors/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>
Computing file changes ...