gecko-dev/testing/web-platform/tests/gyroscope/Gyroscope-iframe-access.https.html
Alexander Shalamov d8828123b1 Bug 1467820 [wpt PR 11426] - [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

In order to implement mitigation stragegy defined in [1], focused
frame and frame associated with the sensor should be of the same
origin.

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

Bug: 849501
Change-Id: I06fce4e66873cd98e59e45d00ffe27de8e7d66f9
Reviewed-on: https://chromium-review.googlesource.com/1087049
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Alexander Shalamov <alexander.shalamov@intel.com>
Cr-Commit-Position: refs/heads/master@{#566096}

--

wpt-commits: 46fe6803fdd163e21137ba06b81558d6ba34ad12
wpt-pr: 11426
2018-07-11 07:48:42 +01:00

15 lines
610 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>Gyroscope iframe test</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="help" href="https://www.w3.org/TR/gyroscope/">
<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('Gyroscope');
</script>