mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 13:48:23 +02:00
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
14 lines
635 B
HTML
14 lines
635 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>GeolocationSensor iframe test</title>
|
|
<link rel="author" title="Intel" href="http://www.intel.com">
|
|
<link rel="help" href="https://wicg.github.io/geolocation-sensor/">
|
|
<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('GeolocationSensor');
|
|
</script>
|