https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 932aa385e524f4f58dd788bfd34c93bf97859fec authored by Joshua Bell on 02 April 2018, 23:05:43 UTC
Cookie Store API: Split out and enable test cases
Tip revision: 932aa38
ProximitySensor_insecure_context.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>ProximitySensor Test: insecure context</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="help" href="https://w3c.github.io/proximity/">
<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>Precondition</h2>
<ol>
  <li>
    Run test in an insecure context, e.g. http://example.com/.
  </li>
</ol>
<script>

runGenericSensorInsecureContext("ProximitySensor");

</script>
back to top