forked from mirrors/gecko-dev
Automatic update from web-platform-testsEnable WPT tests for the Generic Sensor classes This patch introduces mock implementations of the Sensor and SensorProvider mojo interfaces to the WPT tests for Chromium. The ongoing WPT issue for the Generic Sensor tests automation: https://github.com/w3c/web-platform-tests/issues/9686 Bug: 816462 Change-Id: I8e4880ee5269b07f0bf68a2752038e128d166c55 Reviewed-on: https://chromium-review.googlesource.com/980886 Reviewed-by: Mike West <mkwst@chromium.org> Reviewed-by: Philip Jägenstedt <foolip@chromium.org> Reviewed-by: Reilly Grant <reillyg@chromium.org> Reviewed-by: Alexander Shalamov <alexander.shalamov@intel.com> Commit-Queue: Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> Cr-Commit-Position: refs/heads/master@{#550586} -- wpt-commits: b55a93ab1fa441d8998fcfb1173d00dab4b733c0 wpt-pr: 10198
15 lines
506 B
HTML
15 lines
506 B
HTML
<!DOCTYPE html>
|
|
<body>
|
|
<title>Accelerometer Feature Policy Test: Enabled</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('Accelerometer');
|
|
run_fp_tests_enabled('LinearAccelerationSensor');
|
|
run_fp_tests_enabled('GravitySensor');
|
|
</script>
|
|
</body>
|