fune/testing/web-platform/tests/geolocation-sensor/GeolocationSensor-enabled-by-feature-policy-attribute.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

13 lines
451 B
HTML

<!DOCTYPE html>
<body>
<title>GeolocationSensor Feature Policy Test: Enabled by attribute</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";
run_fp_tests_enabled_by_attribute('GeolocationSensor');
</script>
</body>