gecko-dev/testing/web-platform/tests/proximity/ProximitySensor-iframe-access.https.html
Wanming Lin 83c66e796f Bug 1473557 [wpt PR 11803] - [sensors] Check that sensor frame and focused frame of same origin, a=testonly
Automatic update from web-platform-tests[sensors] Check that sensor frame and focused frame of same origin (#11803)

#11426 introduced new tests for mitigation stragegy defined in [1]
  for partial concrete sensors. This PR add the same tests for remain
  concrete sensors: Ambient Light Sensor, Geolocation Sensor, and Proximity.

  [1] https://www.w3.org/TR/generic-sensor/#focused-area
--

wpt-commits: c9c1a7d1b2306fada9bc3b469bf39ca31b4508cc
wpt-pr: 11803
2018-07-11 08:05:46 +01:00

14 lines
621 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>ProximitySensor iframe test</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="/generic-sensor/generic-sensor-tests.js"></script>
<script src="/generic-sensor/generic-sensor-iframe-tests.sub.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<div id="log"></div>
<script>
run_generic_sensor_iframe_tests('ProximitySensor');
</script>