https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 0322f4a8924395e866e774d68200e5844e72f793 authored by Lennart Grahl on 19 May 2018, 00:04:14 UTC
Add a test based on discussion in https://github.com/w3c/webrtc-pc/pull/1851 with @jan-ivar
Tip revision: 0322f4a
Magnetometer-enabled-by-feature-policy-attribute.https.html
<!DOCTYPE html>
<body>
<title>Magnetometer Feature Policy Test: Enabled by attribute</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_by_attribute(Magnetometer);
run_fp_tests_enabled_by_attribute(UncalibratedMagnetometer);
</script>
</body>
back to top