Revision ea469b6059e82729ef04cd90758fc9b52b733c7f authored by Adam Rice on 02 April 2018, 06:38:50 UTC, committed by Domenic Denicola on 03 April 2018, 14:34:59 UTC
When the "mode" option is not undefined, getReader({mode}) algorithm
calls ToString() on it before checking whether or not it is "blob". Add
a test to ensure this conversion is done.
1 parent 7164dbb
Raw File
Gyroscope_insecure_context.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>Gyroscope Test: insecure context</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="help" href="https://www.w3.org/TR/gyroscope/">
<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("Gyroscope");

</script>
back to top