https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 97317790d486c4b239e1e4f9942243a1991dce79 authored by Frédéric Wang on 14 March 2018, 14:14:29 UTC
use requestAnimationFrame instead of setTimeout(..., 0)
Tip revision: 9731779
AmbientLightSensor-enabled-by-feature-policy-attribute.https.html
<!DOCTYPE html>
<body>
<title>AmbientLightSensor 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(AmbientLightSensor);
</script>
</body>
back to top