https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 49cbe8a9470283ecfeaa05ae7c1b9e638dfff8bd authored by Chris Nardi on 19 March 2018, 18:15:09 UTC
Test both parsing orders
Tip revision: 49cbe8a
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="/sensors/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