mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 13:18:45 +02:00
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
15 lines
610 B
HTML
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>
|