Skip to content

Commit

Permalink
Rename generic-sensor as sensors to align with specname (web-platform…
Browse files Browse the repository at this point in the history
…-tests#9895)

* Rename generic-sensor.idl as sensors.idl to align with specname

* rename generic-sensor directory as sensors
  • Loading branch information
Honry authored Mar 7, 2018
1 parent b92c2b1 commit 857f5c3
Show file tree
Hide file tree
Showing 69 changed files with 65 additions and 65 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
2 changes: 1 addition & 1 deletion accelerometer/Accelerometer.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<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>
<script src="/sensors/generic-sensor-tests.js"></script>
<div id="log"></div>
<script>

Expand Down
2 changes: 1 addition & 1 deletion accelerometer/Accelerometer_insecure_context.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<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>
<script src="/sensors/generic-sensor-tests.js"></script>
<div id="log"></div>
<h2>Note:</h2>
<ol>
Expand Down
2 changes: 1 addition & 1 deletion accelerometer/Accelerometer_onerror-manual.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<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>
<script src="/sensors/generic-sensor-tests.js"></script>
<div id="log"></div>
<h2>Precondition</h2>
<ol>
Expand Down
2 changes: 1 addition & 1 deletion accelerometer/idlharness.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
promise_test(() => {
return Promise.all([
"/interfaces/dom.idl",
"/interfaces/generic-sensor.idl",
"/interfaces/sensors.idl",
"/interfaces/accelerometer.idl",
].map(fetchText)).then(doTest);
}, "Test IDL implementation of Accelerometer Sensor");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
2 changes: 1 addition & 1 deletion ambient-light/AmbientLightSensor.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="help" href="https://www.w3.org/TR/ambient-light/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/generic-sensor/generic-sensor-tests.js"></script>
<script src="/sensors/generic-sensor-tests.js"></script>
<div id="log"></div>
<script>

Expand Down
2 changes: 1 addition & 1 deletion ambient-light/AmbientLightSensor_insecure_context.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="help" href="https://www.w3.org/TR/ambient-light/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/generic-sensor/generic-sensor-tests.js"></script>
<script src="/sensors/generic-sensor-tests.js"></script>
<div id="log"></div>
<h2>Precondition</h2>
<ol>
Expand Down
2 changes: 1 addition & 1 deletion ambient-light/AmbientLightSensor_onerror-manual.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="help" href="https://www.w3.org/TR/ambient-light/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/generic-sensor/generic-sensor-tests.js"></script>
<script src="/sensors/generic-sensor-tests.js"></script>
<div id="log"></div>
<h2>Precondition</h2>
<ol>
Expand Down
2 changes: 1 addition & 1 deletion ambient-light/idlharness.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
promise_test(() => {
return Promise.all([
"/interfaces/dom.idl",
"/interfaces/generic-sensor.idl",
"/interfaces/sensors.idl",
"/interfaces/ambient-light.idl",
].map(fetchText)).then(doTest);
}, "Test IDL implementation of Ambient Light Sensor");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
2 changes: 1 addition & 1 deletion geolocation-sensor/GeolocationSensor.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="help" href="https://wicg.github.io/geolocation-sensor/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/generic-sensor/generic-sensor-tests.js"></script>
<script src="/sensors/generic-sensor-tests.js"></script>
<script>

runGenericSensorTests(GeolocationSensor);
Expand Down
2 changes: 1 addition & 1 deletion geolocation-sensor/GeolocationSensor_insecure_context.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="help" href="https://wicg.github.io/geolocation-sensor/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/generic-sensor/generic-sensor-tests.js"></script>
<script src="/sensors/generic-sensor-tests.js"></script>
<script>

runGenericSensorInsecureContext("GeolocationSensor");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="help" href="https://wicg.github.io/geolocation-sensor/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/generic-sensor/generic-sensor-tests.js"></script>
<script src="/sensors/generic-sensor-tests.js"></script>
<h2>Precondition</h2>
<ol>
<li>
Expand Down
2 changes: 1 addition & 1 deletion geolocation-sensor/idlharness.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

promise_test(() => {
return Promise.all([
"/interfaces/generic-sensor.idl",
"/interfaces/sensors.idl",
"/interfaces/geolocation-sensor.idl"
].map(fetchText)).then(doTest);
}, "Test IDL implementation of Geolocation Sensor");
Expand Down
2 changes: 1 addition & 1 deletion gyroscope/Gyroscope-disabled-by-feature-policy.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
2 changes: 1 addition & 1 deletion gyroscope/Gyroscope-enabled-by-feature-policy.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
2 changes: 1 addition & 1 deletion gyroscope/Gyroscope.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<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>
<script src="/sensors/generic-sensor-tests.js"></script>
<div id="log"></div>
<script>

Expand Down
2 changes: 1 addition & 1 deletion gyroscope/Gyroscope_insecure_context.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<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>
<script src="/sensors/generic-sensor-tests.js"></script>
<div id="log"></div>
<h2>Precondition</h2>
<ol>
Expand Down
2 changes: 1 addition & 1 deletion gyroscope/Gyroscope_onerror-manual.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<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>
<script src="/sensors/generic-sensor-tests.js"></script>
<div id="log"></div>
<h2>Precondition</h2>
<ol>
Expand Down
2 changes: 1 addition & 1 deletion gyroscope/idlharness.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
promise_test(() => {
return Promise.all([
"/interfaces/dom.idl",
"/interfaces/generic-sensor.idl",
"/interfaces/sensors.idl",
"/interfaces/gyroscope.idl",
].map(fetchText)).then(doTest);
}, "Test IDL implementation of Gyroscope Sensor");
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/feature-policy/resources/featurepolicy.js"></script>
<script src="/generic-sensor/generic-sensor-feature-policy-test.sub.js"></script>
<script src="/sensors/generic-sensor-feature-policy-test.sub.js"></script>
<script>
"use strict";

Expand Down
2 changes: 1 addition & 1 deletion magnetometer/Magnetometer.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="help" href="https://www.w3.org/TR/magnetometer/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/generic-sensor/generic-sensor-tests.js"></script>
<script src="/sensors/generic-sensor-tests.js"></script>
<div id="log"></div>
<script>

Expand Down
2 changes: 1 addition & 1 deletion magnetometer/Magnetometer_insecure_context.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="help" href="https://www.w3.org/TR/magnetometer/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/generic-sensor/generic-sensor-tests.js"></script>
<script src="/sensors/generic-sensor-tests.js"></script>
<div id="log"></div>
<h2>Precondition</h2>
<ol>
Expand Down
2 changes: 1 addition & 1 deletion magnetometer/Magnetometer_onerror-manual.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="help" href="https://www.w3.org/TR/magnetometer/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/generic-sensor/generic-sensor-tests.js"></script>
<script src="/sensors/generic-sensor-tests.js"></script>
<div id="log"></div>
<h2>Precondition</h2>
<ol>
Expand Down
Loading

0 comments on commit 857f5c3

Please sign in to comment.