summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/orientation-sensor/OrientationSensor_insecure_context.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/orientation-sensor/OrientationSensor_insecure_context.html')
-rw-r--r--testing/web-platform/tests/orientation-sensor/OrientationSensor_insecure_context.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/orientation-sensor/OrientationSensor_insecure_context.html b/testing/web-platform/tests/orientation-sensor/OrientationSensor_insecure_context.html
new file mode 100644
index 0000000000..18d41cec9e
--- /dev/null
+++ b/testing/web-platform/tests/orientation-sensor/OrientationSensor_insecure_context.html
@@ -0,0 +1,21 @@
+<meta charset="utf-8">
+<title>AbsoluteOrientationSensor Test: insecure context</title>
+<link rel="author" title="Intel" href="http://www.intel.com">
+<link rel="help" href="https://w3c.github.io/orientation-sensor/">
+<link rel="help" href="https://w3c.github.io/sensors/">
+<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("AbsoluteOrientationSensor");
+runGenericSensorInsecureContext("RelativeOrientationSensor");
+
+</script>