Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt sensor idlharness tests to latest spec #4793

Merged
merged 2 commits into from Apr 28, 2017

Conversation

Honry
Copy link
Contributor

@Honry Honry commented Feb 10, 2017

This change is Reviewable

@wpt-pr-bot
Copy link
Collaborator

@w3c-bots
Copy link

w3c-bots commented Feb 10, 2017

View the complete job log.

Chrome (unstable channel)

Testing web-platform-tests at revision 10c79cb
Using browser at version 59.0.3071.25 dev
Starting 10 test iterations

@w3c-bots
Copy link

w3c-bots commented Feb 10, 2017

View the complete job log.

Firefox (nightly channel)

Testing web-platform-tests at revision 10c79cb
Using browser at version BuildID 20170425101537; SourceStamp a30dc237c3a600a5231f2974fc2b85dfb5513414
Starting 10 test iterations
All results were stable

All results

5 tests ran
/accelerometer/idlharness.https.html
Subtest Results Messages
OK
Accelerometer interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "Accelerometer" expected property "Accelerometer" missing
Accelerometer interface object length FAIL assert_own_property: self does not have own property "Accelerometer" expected property "Accelerometer" missing
Accelerometer interface object name FAIL assert_own_property: self does not have own property "Accelerometer" expected property "Accelerometer" missing
Accelerometer interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "Accelerometer" expected property "Accelerometer" missing
Accelerometer interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "Accelerometer" expected property "Accelerometer" missing
Accelerometer interface: attribute x FAIL assert_own_property: self does not have own property "Accelerometer" expected property "Accelerometer" missing
Accelerometer interface: attribute y FAIL assert_own_property: self does not have own property "Accelerometer" expected property "Accelerometer" missing
Accelerometer interface: attribute z FAIL assert_own_property: self does not have own property "Accelerometer" expected property "Accelerometer" missing
Accelerometer must be primary interface of new Accelerometer(); FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Accelerometer is not defined"
Stringification of new Accelerometer(); FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Accelerometer is not defined"
Accelerometer interface: new Accelerometer(); must inherit property "x" with the proper type (0) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Accelerometer is not defined"
Accelerometer interface: new Accelerometer(); must inherit property "y" with the proper type (1) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Accelerometer is not defined"
Accelerometer interface: new Accelerometer(); must inherit property "z" with the proper type (2) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Accelerometer is not defined"
Sensor interface: new Accelerometer(); must inherit property "activated" with the proper type (0) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Accelerometer is not defined"
Sensor interface: new Accelerometer(); must inherit property "timestamp" with the proper type (1) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Accelerometer is not defined"
Sensor interface: new Accelerometer(); must inherit property "start" with the proper type (2) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Accelerometer is not defined"
Sensor interface: new Accelerometer(); must inherit property "stop" with the proper type (3) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Accelerometer is not defined"
Sensor interface: new Accelerometer(); must inherit property "onchange" with the proper type (4) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Accelerometer is not defined"
Sensor interface: new Accelerometer(); must inherit property "onactivate" with the proper type (5) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Accelerometer is not defined"
Sensor interface: new Accelerometer(); must inherit property "onerror" with the proper type (6) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Accelerometer is not defined"
LinearAccelerationSensor interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "LinearAccelerationSensor" expected property "LinearAccelerationSensor" missing
LinearAccelerationSensor interface object length FAIL assert_own_property: self does not have own property "LinearAccelerationSensor" expected property "LinearAccelerationSensor" missing
LinearAccelerationSensor interface object name FAIL assert_own_property: self does not have own property "LinearAccelerationSensor" expected property "LinearAccelerationSensor" missing
LinearAccelerationSensor interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "LinearAccelerationSensor" expected property "LinearAccelerationSensor" missing
LinearAccelerationSensor interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "LinearAccelerationSensor" expected property "LinearAccelerationSensor" missing
LinearAccelerationSensor must be primary interface of new LinearAccelerationSensor(); FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: LinearAccelerationSensor is not defined"
Stringification of new LinearAccelerationSensor(); FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: LinearAccelerationSensor is not defined"
Accelerometer interface: new LinearAccelerationSensor(); must inherit property "x" with the proper type (0) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: LinearAccelerationSensor is not defined"
Accelerometer interface: new LinearAccelerationSensor(); must inherit property "y" with the proper type (1) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: LinearAccelerationSensor is not defined"
Accelerometer interface: new LinearAccelerationSensor(); must inherit property "z" with the proper type (2) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: LinearAccelerationSensor is not defined"
Sensor interface: new LinearAccelerationSensor(); must inherit property "activated" with the proper type (0) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: LinearAccelerationSensor is not defined"
Sensor interface: new LinearAccelerationSensor(); must inherit property "timestamp" with the proper type (1) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: LinearAccelerationSensor is not defined"
Sensor interface: new LinearAccelerationSensor(); must inherit property "start" with the proper type (2) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: LinearAccelerationSensor is not defined"
Sensor interface: new LinearAccelerationSensor(); must inherit property "stop" with the proper type (3) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: LinearAccelerationSensor is not defined"
Sensor interface: new LinearAccelerationSensor(); must inherit property "onchange" with the proper type (4) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: LinearAccelerationSensor is not defined"
Sensor interface: new LinearAccelerationSensor(); must inherit property "onactivate" with the proper type (5) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: LinearAccelerationSensor is not defined"
Sensor interface: new LinearAccelerationSensor(); must inherit property "onerror" with the proper type (6) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: LinearAccelerationSensor is not defined"
GravitySensor interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "GravitySensor" expected property "GravitySensor" missing
GravitySensor interface object length FAIL assert_own_property: self does not have own property "GravitySensor" expected property "GravitySensor" missing
GravitySensor interface object name FAIL assert_own_property: self does not have own property "GravitySensor" expected property "GravitySensor" missing
GravitySensor interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "GravitySensor" expected property "GravitySensor" missing
GravitySensor interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "GravitySensor" expected property "GravitySensor" missing
GravitySensor must be primary interface of new GravitySensor(); FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: GravitySensor is not defined"
Stringification of new GravitySensor(); FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: GravitySensor is not defined"
Accelerometer interface: new GravitySensor(); must inherit property "x" with the proper type (0) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: GravitySensor is not defined"
Accelerometer interface: new GravitySensor(); must inherit property "y" with the proper type (1) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: GravitySensor is not defined"
Accelerometer interface: new GravitySensor(); must inherit property "z" with the proper type (2) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: GravitySensor is not defined"
Sensor interface: new GravitySensor(); must inherit property "activated" with the proper type (0) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: GravitySensor is not defined"
Sensor interface: new GravitySensor(); must inherit property "timestamp" with the proper type (1) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: GravitySensor is not defined"
Sensor interface: new GravitySensor(); must inherit property "start" with the proper type (2) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: GravitySensor is not defined"
Sensor interface: new GravitySensor(); must inherit property "stop" with the proper type (3) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: GravitySensor is not defined"
Sensor interface: new GravitySensor(); must inherit property "onchange" with the proper type (4) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: GravitySensor is not defined"
Sensor interface: new GravitySensor(); must inherit property "onactivate" with the proper type (5) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: GravitySensor is not defined"
Sensor interface: new GravitySensor(); must inherit property "onerror" with the proper type (6) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: GravitySensor is not defined"
/ambient-light/idlharness.https.html
Subtest Results Messages
OK
AmbientLightSensor interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "AmbientLightSensor" expected property "AmbientLightSensor" missing
AmbientLightSensor interface object length FAIL assert_own_property: self does not have own property "AmbientLightSensor" expected property "AmbientLightSensor" missing
AmbientLightSensor interface object name FAIL assert_own_property: self does not have own property "AmbientLightSensor" expected property "AmbientLightSensor" missing
AmbientLightSensor interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "AmbientLightSensor" expected property "AmbientLightSensor" missing
AmbientLightSensor interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "AmbientLightSensor" expected property "AmbientLightSensor" missing
AmbientLightSensor interface: attribute illuminance FAIL assert_own_property: self does not have own property "AmbientLightSensor" expected property "AmbientLightSensor" missing
AmbientLightSensor must be primary interface of new AmbientLightSensor(); FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AmbientLightSensor is not defined"
Stringification of new AmbientLightSensor(); FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AmbientLightSensor is not defined"
AmbientLightSensor interface: new AmbientLightSensor(); must inherit property "illuminance" with the proper type (0) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AmbientLightSensor is not defined"
Sensor interface: new AmbientLightSensor(); must inherit property "activated" with the proper type (0) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AmbientLightSensor is not defined"
Sensor interface: new AmbientLightSensor(); must inherit property "timestamp" with the proper type (1) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AmbientLightSensor is not defined"
Sensor interface: new AmbientLightSensor(); must inherit property "start" with the proper type (2) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AmbientLightSensor is not defined"
Sensor interface: new AmbientLightSensor(); must inherit property "stop" with the proper type (3) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AmbientLightSensor is not defined"
Sensor interface: new AmbientLightSensor(); must inherit property "onchange" with the proper type (4) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AmbientLightSensor is not defined"
Sensor interface: new AmbientLightSensor(); must inherit property "onactivate" with the proper type (5) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AmbientLightSensor is not defined"
Sensor interface: new AmbientLightSensor(); must inherit property "onerror" with the proper type (6) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AmbientLightSensor is not defined"
/gyroscope/idlharness.https.html
Subtest Results Messages
OK
Gyroscope interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "Gyroscope" expected property "Gyroscope" missing
Gyroscope interface object length FAIL assert_own_property: self does not have own property "Gyroscope" expected property "Gyroscope" missing
Gyroscope interface object name FAIL assert_own_property: self does not have own property "Gyroscope" expected property "Gyroscope" missing
Gyroscope interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "Gyroscope" expected property "Gyroscope" missing
Gyroscope interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "Gyroscope" expected property "Gyroscope" missing
Gyroscope interface: attribute x FAIL assert_own_property: self does not have own property "Gyroscope" expected property "Gyroscope" missing
Gyroscope interface: attribute y FAIL assert_own_property: self does not have own property "Gyroscope" expected property "Gyroscope" missing
Gyroscope interface: attribute z FAIL assert_own_property: self does not have own property "Gyroscope" expected property "Gyroscope" missing
Gyroscope must be primary interface of new Gyroscope(); FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Gyroscope is not defined"
Stringification of new Gyroscope(); FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Gyroscope is not defined"
Gyroscope interface: new Gyroscope(); must inherit property "x" with the proper type (0) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Gyroscope is not defined"
Gyroscope interface: new Gyroscope(); must inherit property "y" with the proper type (1) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Gyroscope is not defined"
Gyroscope interface: new Gyroscope(); must inherit property "z" with the proper type (2) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Gyroscope is not defined"
Sensor interface: new Gyroscope(); must inherit property "activated" with the proper type (0) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Gyroscope is not defined"
Sensor interface: new Gyroscope(); must inherit property "timestamp" with the proper type (1) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Gyroscope is not defined"
Sensor interface: new Gyroscope(); must inherit property "start" with the proper type (2) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Gyroscope is not defined"
Sensor interface: new Gyroscope(); must inherit property "stop" with the proper type (3) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Gyroscope is not defined"
Sensor interface: new Gyroscope(); must inherit property "onchange" with the proper type (4) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Gyroscope is not defined"
Sensor interface: new Gyroscope(); must inherit property "onactivate" with the proper type (5) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Gyroscope is not defined"
Sensor interface: new Gyroscope(); must inherit property "onerror" with the proper type (6) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Gyroscope is not defined"
/magnetometer/idlharness.https.html
Subtest Results Messages
OK
Magnetometer interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "Magnetometer" expected property "Magnetometer" missing
Magnetometer interface object length FAIL assert_own_property: self does not have own property "Magnetometer" expected property "Magnetometer" missing
Magnetometer interface object name FAIL assert_own_property: self does not have own property "Magnetometer" expected property "Magnetometer" missing
Magnetometer interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "Magnetometer" expected property "Magnetometer" missing
Magnetometer interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "Magnetometer" expected property "Magnetometer" missing
Magnetometer interface: attribute x FAIL assert_own_property: self does not have own property "Magnetometer" expected property "Magnetometer" missing
Magnetometer interface: attribute y FAIL assert_own_property: self does not have own property "Magnetometer" expected property "Magnetometer" missing
Magnetometer interface: attribute z FAIL assert_own_property: self does not have own property "Magnetometer" expected property "Magnetometer" missing
Magnetometer must be primary interface of new Magnetometer(); FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Magnetometer is not defined"
Stringification of new Magnetometer(); FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Magnetometer is not defined"
Magnetometer interface: new Magnetometer(); must inherit property "x" with the proper type (0) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Magnetometer is not defined"
Magnetometer interface: new Magnetometer(); must inherit property "y" with the proper type (1) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Magnetometer is not defined"
Magnetometer interface: new Magnetometer(); must inherit property "z" with the proper type (2) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Magnetometer is not defined"
Sensor interface: new Magnetometer(); must inherit property "activated" with the proper type (0) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Magnetometer is not defined"
Sensor interface: new Magnetometer(); must inherit property "timestamp" with the proper type (1) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Magnetometer is not defined"
Sensor interface: new Magnetometer(); must inherit property "start" with the proper type (2) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Magnetometer is not defined"
Sensor interface: new Magnetometer(); must inherit property "stop" with the proper type (3) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Magnetometer is not defined"
Sensor interface: new Magnetometer(); must inherit property "onchange" with the proper type (4) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Magnetometer is not defined"
Sensor interface: new Magnetometer(); must inherit property "onactivate" with the proper type (5) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Magnetometer is not defined"
Sensor interface: new Magnetometer(); must inherit property "onerror" with the proper type (6) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Magnetometer is not defined"
/orientation-sensor/idlharness.https.html
Subtest Results Messages
OK
OrientationSensor interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "OrientationSensor" expected property "OrientationSensor" missing
OrientationSensor interface object length FAIL assert_own_property: self does not have own property "OrientationSensor" expected property "OrientationSensor" missing
OrientationSensor interface object name FAIL assert_own_property: self does not have own property "OrientationSensor" expected property "OrientationSensor" missing
OrientationSensor interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "OrientationSensor" expected property "OrientationSensor" missing
OrientationSensor interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "OrientationSensor" expected property "OrientationSensor" missing
OrientationSensor interface: attribute quaternion FAIL assert_own_property: self does not have own property "OrientationSensor" expected property "OrientationSensor" missing
OrientationSensor interface: operation populateMatrix(RotationMatrixType) FAIL assert_own_property: self does not have own property "OrientationSensor" expected property "OrientationSensor" missing
AbsoluteOrientationSensor interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "AbsoluteOrientationSensor" expected property "AbsoluteOrientationSensor" missing
AbsoluteOrientationSensor interface object length FAIL assert_own_property: self does not have own property "AbsoluteOrientationSensor" expected property "AbsoluteOrientationSensor" missing
AbsoluteOrientationSensor interface object name FAIL assert_own_property: self does not have own property "AbsoluteOrientationSensor" expected property "AbsoluteOrientationSensor" missing
AbsoluteOrientationSensor interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "AbsoluteOrientationSensor" expected property "AbsoluteOrientationSensor" missing
AbsoluteOrientationSensor interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "AbsoluteOrientationSensor" expected property "AbsoluteOrientationSensor" missing
AbsoluteOrientationSensor must be primary interface of new AbsoluteOrientationSensor(); FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AbsoluteOrientationSensor is not defined"
Stringification of new AbsoluteOrientationSensor(); FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AbsoluteOrientationSensor is not defined"
OrientationSensor interface: new AbsoluteOrientationSensor(); must inherit property "quaternion" with the proper type (0) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AbsoluteOrientationSensor is not defined"
OrientationSensor interface: new AbsoluteOrientationSensor(); must inherit property "populateMatrix" with the proper type (1) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AbsoluteOrientationSensor is not defined"
OrientationSensor interface: calling populateMatrix(RotationMatrixType) on new AbsoluteOrientationSensor(); with too few arguments must throw TypeError FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AbsoluteOrientationSensor is not defined"
Sensor interface: new AbsoluteOrientationSensor(); must inherit property "activated" with the proper type (0) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AbsoluteOrientationSensor is not defined"
Sensor interface: new AbsoluteOrientationSensor(); must inherit property "timestamp" with the proper type (1) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AbsoluteOrientationSensor is not defined"
Sensor interface: new AbsoluteOrientationSensor(); must inherit property "start" with the proper type (2) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AbsoluteOrientationSensor is not defined"
Sensor interface: new AbsoluteOrientationSensor(); must inherit property "stop" with the proper type (3) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AbsoluteOrientationSensor is not defined"
Sensor interface: new AbsoluteOrientationSensor(); must inherit property "onchange" with the proper type (4) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AbsoluteOrientationSensor is not defined"
Sensor interface: new AbsoluteOrientationSensor(); must inherit property "onactivate" with the proper type (5) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AbsoluteOrientationSensor is not defined"
Sensor interface: new AbsoluteOrientationSensor(); must inherit property "onerror" with the proper type (6) FAIL assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: AbsoluteOrientationSensor is not defined"

@w3c-bots
Copy link

w3c-bots commented Apr 26, 2017

These tests are now available on w3c-test.org

@w3c-bots
Copy link

w3c-bots commented Apr 26, 2017

View the complete job log.

Lint

Passed

@Honry
Copy link
Contributor Author

Honry commented Apr 26, 2017

@tobie, could you help review this PR? All the Web IDL tests for Sensors are update-to-date.


<script>

(() => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there guidelines wrt what flavor of ES should be used?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, AFAIK.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, so I checked on irc ans the answer is: "Has to work in latest Chrome, Fx, Safari, Edge".

So you're good.

 - Add Web IDL test for Orientation Sensor
Copy link
Contributor

@tobie tobie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So seems mostly like a copy/paste job from the spec, so LGTM. :)

@Honry
Copy link
Contributor Author

Honry commented Apr 28, 2017

Thanks @tobie! I am going to merge it.

@Honry Honry merged commit 61f96e9 into web-platform-tests:master Apr 28, 2017
@Honry Honry deleted the sensors/update-idl branch April 28, 2017 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants