gecko-dev/testing/web-platform/tests/ambient-light/AmbientLightSensor.https.html
Wanming Lin e29afcdfd7 Bug 1460825 [wpt PR 10962] - Fix partial issues from #10198, a=testonly
Automatic update from web-platform-testsFix partial issues from #10198 (#10962)

 - `if (testRunner)` should be `if (window.testRunner)`
 - Use String to pass sensor object param to avoid undefined error
--

wpt-commits: 7cbefa75635b6ec86d99bb06abc8a68ffc624b68
wpt-pr: 10962
2018-07-11 07:50:52 +01:00

15 lines
459 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>AmbientLightSensor Test</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>
<script>
runGenericSensorTests('AmbientLightSensor');
</script>