https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 1ae79efc01b050c482d7875c652c6577d735f324 authored by Boris Zbarsky on 28 March 2018, 19:09:05 UTC
part 2. Add a bunch of web platform tests for load and error events on stylesheet links.
Tip revision: 1ae79ef
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