Update web-platform-tests to revision ddfc95cf0493ae147a4f6a4d7be8eff1a0c23098

This commit is contained in:
Anthony Ramine 2018-01-18 10:15:04 +01:00
parent 1f6a864ab5
commit 7e6290451f
832 changed files with 16026 additions and 2649 deletions

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<body>
<title>Accelerometer Feature Policy Test: Disabled</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<body>
<title>Accelerometer Feature Policy Test: Enabled by attribute redirect on load</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<body>
<title>Accelerometer 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>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<body>
<title>Accelerometer Feature Policy Test: Enabled</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>

View file

@ -1,5 +1,6 @@
<!DOCTYPE html>
<body>
<title>Accelerometer 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>

View file

@ -11,5 +11,6 @@
runGenericSensorTests(Accelerometer);
runGenericSensorTests(GravitySensor);
runGenericSensorTests(LinearAccelerationSensor);
</script>

View file

@ -7,7 +7,7 @@
<script src="/resources/testharnessreport.js"></script>
<script src="/generic-sensor/generic-sensor-tests.js"></script>
<div id="log"></div>
<h2>Precondition</h2>
<h2>Note:</h2>
<ol>
<li>
Run test in an insecure context, e.g. http://example.com/.
@ -17,5 +17,6 @@
runGenericSensorInsecureContext("Accelerometer");
runGenericSensorInsecureContext("GravitySensor");
runGenericSensorInsecureContext("LinearAccelerationSensor");
</script>

View file

@ -17,5 +17,6 @@
runGenericSensorOnerror(Accelerometer);
runGenericSensorOnerror(GravitySensor);
runGenericSensorOnerror(LinearAccelerationSensor);
</script>