https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 1d80ed8c6e3c70dc91ecdc3942cf736c974e2490 authored by Behind The Math on 05 April 2018, 03:02:14 UTC
Add tests to check that the User-Agent header is set for XHR requests
Tip revision: 1d80ed8
AmbientLightSensor-enabled-on-self-origin-by-feature-policy.https.html
<!DOCTYPE html>
<body>
<title>AmbientLightSensor Feature Policy Test: Enabled on self origin</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_on_self_origin(AmbientLightSensor);
</script>
</body>
back to top