https://github.com/web-platform-tests/wpt
Raw File
Tip revision: ff231deb229296a32101776356e1dc06fc51df1c authored by Jake Archibald on 18 May 2018, 13:15:12 UTC
Tests for https://github.com/whatwg/fetch/pull/560
Tip revision: ff231de
AmbientLightSensor_onerror-manual.https.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>AmbientLightSensor Test: onerror</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="help" href="https://www.w3.org/TR/ambient-light/">
<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 Ambient Light Sensor or run test on a device without Amibent Light Sensor.
  </li>
</ol>
<script>

runGenericSensorOnerror(AmbientLightSensor);

</script>
back to top