blob: b63448bfc88cc61011fa16681d36be6f9384f462 [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>Gyroscope Test: onerror</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="help" href="https://www.w3.org/TR/gyroscope/">
<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>
Disable the Gyroscope Sensor or run test on a device without Gyroscope Sensor.
</li>
</ol>
<script>
runGenericSensorOnerror('Gyroscope');
</script>