https://github.com/web-platform-tests/wpt
Raw File
Tip revision: e34fc8ca0e95655e1e449389e854ddf5d47f349c authored by Emilio Cobos Álvarez on 20 March 2018, 02:29:00 UTC
Make Shadow DOM account for stylesheet applicableness correctly.
Tip revision: e34fc8c
Magnetometer_onerror-manual.https.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>Magnetometer Test: onerror</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>
    Disable the Magnetometer Sensor or run test on a device without Magnetometer Sensor.
  </li>
</ol>
<script>

runGenericSensorOnerror(Magnetometer);
runGenericSensorOnerror(UncalibratedMagnetometer);

</script>
back to top