Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /magnetometer/Magnetometer_insecure_context.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>Magnetometer Test: insecure context</title>
<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>
</li>
</ol>
<script>
runGenericSensorInsecureContext("Magnetometer");
runGenericSensorInsecureContext("UncalibratedMagnetometer");
</script>