https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 426d4707da2b60265fba7e5112ccbda72b113580 authored by Anne van Kesteren on 24 April 2018, 09:28:12 UTC
nit and use assert_equals
Tip revision: 426d470
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