aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html')
-rw-r--r--tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html b/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html
new file mode 100644
index 00000000000..6dc33c829ca
--- /dev/null
+++ b/tests/wpt/web-platform-tests/accelerometer/Accelerometer-enabled-by-feature-policy.https.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<body>
+<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>