diff options
Diffstat (limited to 'testing/web-platform/meta/ambient-light')
6 files changed, 141 insertions, 0 deletions
diff --git a/testing/web-platform/meta/ambient-light/AmbientLightSensor_browsing_context.html.ini b/testing/web-platform/meta/ambient-light/AmbientLightSensor_browsing_context.html.ini new file mode 100644 index 000000000..bd7f8cb09 --- /dev/null +++ b/testing/web-platform/meta/ambient-light/AmbientLightSensor_browsing_context.html.ini @@ -0,0 +1,8 @@ +[AmbientLightSensor_browsing_context.html] + type: testharness + [sensor readings can not be fired within iframes] + expected: FAIL + + [sensor readings can not be fired on the background tab] + expected: FAIL + diff --git a/testing/web-platform/meta/ambient-light/AmbientLightSensor_onstatechange.html.ini b/testing/web-platform/meta/ambient-light/AmbientLightSensor_onstatechange.html.ini new file mode 100644 index 000000000..c0f55f98d --- /dev/null +++ b/testing/web-platform/meta/ambient-light/AmbientLightSensor_onstatechange.html.ini @@ -0,0 +1,12 @@ +[AmbientLightSensor_onstatechange.html] + type: testharness + expected: ERROR + [The default sensor.state is 'idle'.] + expected: FAIL + + [The sensor.state changes to 'activating' after sensor.start().] + expected: FAIL + + [The sensor.state changes to 'idle' after sensor.stop().] + expected: FAIL + diff --git a/testing/web-platform/meta/ambient-light/AmbientLightSensor_start.html.ini b/testing/web-platform/meta/ambient-light/AmbientLightSensor_start.html.ini new file mode 100644 index 000000000..8c5800404 --- /dev/null +++ b/testing/web-platform/meta/ambient-light/AmbientLightSensor_start.html.ini @@ -0,0 +1,9 @@ +[AmbientLightSensor_start.html] + type: testharness + expected: ERROR + [the sensor.reading is AmbientLightSensorReading after executing start() method] + expected: FAIL + + [throw an InvalidStateError exception when state is neither idle nor errored] + expected: FAIL + diff --git a/testing/web-platform/meta/ambient-light/AmbientLightSensor_stop.html.ini b/testing/web-platform/meta/ambient-light/AmbientLightSensor_stop.html.ini new file mode 100644 index 000000000..866ff525c --- /dev/null +++ b/testing/web-platform/meta/ambient-light/AmbientLightSensor_stop.html.ini @@ -0,0 +1,9 @@ +[AmbientLightSensor_stop.html] + type: testharness + expected: ERROR + [the sensor.reading is null after executing stop() method] + expected: FAIL + + [throw an InvalidStateError exception when state is either idle or errored] + expected: FAIL + diff --git a/testing/web-platform/meta/ambient-light/AmbientLightSensor_tests.html.ini b/testing/web-platform/meta/ambient-light/AmbientLightSensor_tests.html.ini new file mode 100644 index 000000000..368b798c5 --- /dev/null +++ b/testing/web-platform/meta/ambient-light/AmbientLightSensor_tests.html.ini @@ -0,0 +1,5 @@ +[AmbientLightSensor_tests.html] + type: testharness + [Test suite not implemented yet.] + expected: FAIL + diff --git a/testing/web-platform/meta/ambient-light/idlharness.html.ini b/testing/web-platform/meta/ambient-light/idlharness.html.ini new file mode 100644 index 000000000..083fd6277 --- /dev/null +++ b/testing/web-platform/meta/ambient-light/idlharness.html.ini @@ -0,0 +1,98 @@ +[idlharness.html] + type: testharness + [SensorReadingEvent must be primary interface of new SensorReadingEvent({ reading: new AmbientLightSensorReading({ illuminance: 750 }) });] + expected: FAIL + + [Stringification of new SensorReadingEvent({ reading: new AmbientLightSensorReading({ illuminance: 750 }) });] + expected: FAIL + + [SensorReadingEvent interface: new SensorReadingEvent({ reading: new AmbientLightSensorReading({ illuminance: 750 }) }); must inherit property "reading" with the proper type (0)] + expected: FAIL + + [AmbientLightSensor interface: existence and properties of interface object] + expected: FAIL + + [AmbientLightSensor interface object length] + expected: FAIL + + [AmbientLightSensor interface object name] + expected: FAIL + + [AmbientLightSensor interface: existence and properties of interface prototype object] + expected: FAIL + + [AmbientLightSensor interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [AmbientLightSensor interface: attribute reading] + expected: FAIL + + [AmbientLightSensor must be primary interface of new AmbientLightSensor();] + expected: FAIL + + [Stringification of new AmbientLightSensor();] + expected: FAIL + + [AmbientLightSensor interface: new AmbientLightSensor(); must inherit property "reading" with the proper type (0)] + expected: FAIL + + [Sensor interface: new AmbientLightSensor(); must inherit property "state" with the proper type (0)] + expected: FAIL + + [Sensor interface: new AmbientLightSensor(); must inherit property "reading" with the proper type (1)] + expected: FAIL + + [Sensor interface: new AmbientLightSensor(); must inherit property "start" with the proper type (2)] + expected: FAIL + + [Sensor interface: new AmbientLightSensor(); must inherit property "stop" with the proper type (3)] + expected: FAIL + + [Sensor interface: new AmbientLightSensor(); must inherit property "onchange" with the proper type (4)] + expected: FAIL + + [Sensor interface: new AmbientLightSensor(); must inherit property "onstatechange" with the proper type (5)] + expected: FAIL + + [Sensor interface: new AmbientLightSensor(); must inherit property "onerror" with the proper type (6)] + expected: FAIL + + [AmbientLightSensorReading interface: existence and properties of interface object] + expected: FAIL + + [AmbientLightSensorReading interface object length] + expected: FAIL + + [AmbientLightSensorReading interface object name] + expected: FAIL + + [AmbientLightSensorReading interface: existence and properties of interface prototype object] + expected: FAIL + + [AmbientLightSensorReading interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [AmbientLightSensorReading interface: attribute illuminance] + expected: FAIL + + [AmbientLightSensorReading must be primary interface of new AmbientLightSensorReading({ illuminance: 750 });] + expected: FAIL + + [Stringification of new AmbientLightSensorReading({ illuminance: 750 });] + expected: FAIL + + [AmbientLightSensorReading interface: new AmbientLightSensorReading({ illuminance: 750 }); must inherit property "illuminance" with the proper type (0)] + expected: FAIL + + [SensorReading interface: new AmbientLightSensorReading({ illuminance: 750 }); must inherit property "timeStamp" with the proper type (0)] + expected: FAIL + + [SensorReadingEvent must be primary interface of new SensorReadingEvent("reading", { reading: new AmbientLightSensorReading({ illuminance: 750 }) });] + expected: FAIL + + [Stringification of new SensorReadingEvent("reading", { reading: new AmbientLightSensorReading({ illuminance: 750 }) });] + expected: FAIL + + [SensorReadingEvent interface: new SensorReadingEvent("reading", { reading: new AmbientLightSensorReading({ illuminance: 750 }) }); must inherit property "reading" with the proper type (0)] + expected: FAIL + |