1
0
Fork 0
firefox/testing/web-platform/tests/accelerometer/Accelerometer_insecure_context.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

22 lines
692 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>Accelerometer Test: insecure context</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="help" href="https://www.w3.org/TR/accelerometer/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/generic-sensor/generic-sensor-tests.js"></script>
<div id="log"></div>
<h2>Note:</h2>
<ol>
<li>
Run test in an insecure context, e.g. http://example.com/.
</li>
</ol>
<script>
runGenericSensorInsecureContext("Accelerometer");
runGenericSensorInsecureContext("GravitySensor");
runGenericSensorInsecureContext("LinearAccelerationSensor");
</script>