https://github.com/web-platform-tests/wpt
Raw File
Tip revision: c5719e00d4a7c1e336ae3f047ed5381c159c840d authored by James Graham on 14 March 2018, 15:05:06 UTC
Exit wptrunner with an error status if no tests ran
Tip revision: c5719e0
ProximitySensor_onerror-manual.https.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>ProximitySensor Test: onerror</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="help" href="https://w3c.github.io/proximity/">
<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 Proximity Sensor or run test on a device without Proximity Sensor.
  </li>
</ol>
<script>

runGenericSensorOnerror(ProximitySensor);

</script>
back to top