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

orientation-event: Update idlharness.js tests. #5202

Merged

Conversation

reillyeon
Copy link
Contributor

Updates the embedded WebIDL for orientation-event/idlharness.html to
match the change made to DeviceMotionEvent(Init).interval,

w3c/deviceorientation#40

Updates the embedded WebIDL for orientation-event/idlharness.html to
match the change made to DeviceMotionEvent(Init).interval,

w3c/deviceorientation#40
@w3c-bots
Copy link

View the complete job log.

Firefox (nightly channel)

Testing web-platform-tests at revision 75bfad5
Using browser at version BuildID 20170321110237; SourceStamp ca4ae502156eaea6fffb296bb9c3b3930af8ab58
Starting 10 test iterations
All results were stable

All results

1 test ran
/orientation-event/idlharness.html
Subtest Results Messages
OK
Window interface: attribute ondeviceorientation FAIL assert_true: The prototype object must have a property "ondeviceorientation" expected true got false
Window interface: attribute ondevicemotion FAIL assert_true: The prototype object must have a property "ondevicemotion" expected true got false
DeviceOrientationEvent interface: existence and properties of interface object PASS
DeviceOrientationEvent interface object length PASS
DeviceOrientationEvent interface object name PASS
DeviceOrientationEvent interface: existence and properties of interface prototype object PASS
DeviceOrientationEvent interface: existence and properties of interface prototype object's "constructor" property PASS
DeviceOrientationEvent interface: attribute alpha PASS
DeviceOrientationEvent interface: attribute beta PASS
DeviceOrientationEvent interface: attribute gamma PASS
DeviceOrientationEvent interface: attribute absolute PASS
DeviceOrientationEvent must be primary interface of new DeviceOrientationEvent("foo") PASS
Stringification of new DeviceOrientationEvent("foo") PASS
DeviceOrientationEvent interface: new DeviceOrientationEvent("foo") must inherit property "alpha" with the proper type (0) PASS
DeviceOrientationEvent interface: new DeviceOrientationEvent("foo") must inherit property "beta" with the proper type (1) PASS
DeviceOrientationEvent interface: new DeviceOrientationEvent("foo") must inherit property "gamma" with the proper type (2) PASS
DeviceOrientationEvent interface: new DeviceOrientationEvent("foo") must inherit property "absolute" with the proper type (3) PASS
DeviceMotionEvent interface: existence and properties of interface object PASS
DeviceMotionEvent interface object length PASS
DeviceMotionEvent interface object name PASS
DeviceMotionEvent interface: existence and properties of interface prototype object PASS
DeviceMotionEvent interface: existence and properties of interface prototype object's "constructor" property PASS
DeviceMotionEvent interface: attribute acceleration PASS
DeviceMotionEvent interface: attribute accelerationIncludingGravity PASS
DeviceMotionEvent interface: attribute rotationRate PASS
DeviceMotionEvent interface: attribute interval PASS
DeviceMotionEvent must be primary interface of new DeviceMotionEvent("foo") PASS
Stringification of new DeviceMotionEvent("foo") PASS
DeviceMotionEvent interface: new DeviceMotionEvent("foo") must inherit property "acceleration" with the proper type (0) PASS
DeviceMotionEvent interface: new DeviceMotionEvent("foo") must inherit property "accelerationIncludingGravity" with the proper type (1) PASS
DeviceMotionEvent interface: new DeviceMotionEvent("foo") must inherit property "rotationRate" with the proper type (2) PASS
DeviceMotionEvent interface: new DeviceMotionEvent("foo") must inherit property "interval" with the proper type (3) FAIL assert_equals: expected "number" but got "object"

@w3c-bots
Copy link

View the complete job log.

Chrome (unstable channel)

Testing web-platform-tests at revision 75bfad5
Using browser at version 59.0.3047.0 dev
Starting 10 test iterations
All results were stable

All results

1 test ran
/orientation-event/idlharness.html
Subtest Results Messages
OK
Window interface: attribute ondeviceorientation FAIL assert_true: The prototype object must have a property "ondeviceorientation" expected true got false
Window interface: attribute ondevicemotion FAIL assert_true: The prototype object must have a property "ondevicemotion" expected true got false
DeviceOrientationEvent interface: existence and properties of interface object PASS
DeviceOrientationEvent interface object length PASS
DeviceOrientationEvent interface object name PASS
DeviceOrientationEvent interface: existence and properties of interface prototype object FAIL assert_equals: class string of DeviceOrientationEvent.prototype expected "[object DeviceOrientationEventPrototype]" but got "[object DeviceOrientationEvent]"
DeviceOrientationEvent interface: existence and properties of interface prototype object's "constructor" property PASS
DeviceOrientationEvent interface: attribute alpha PASS
DeviceOrientationEvent interface: attribute beta PASS
DeviceOrientationEvent interface: attribute gamma PASS
DeviceOrientationEvent interface: attribute absolute PASS
DeviceOrientationEvent must be primary interface of new DeviceOrientationEvent("foo") PASS
Stringification of new DeviceOrientationEvent("foo") PASS
DeviceOrientationEvent interface: new DeviceOrientationEvent("foo") must inherit property "alpha" with the proper type (0) PASS
DeviceOrientationEvent interface: new DeviceOrientationEvent("foo") must inherit property "beta" with the proper type (1) PASS
DeviceOrientationEvent interface: new DeviceOrientationEvent("foo") must inherit property "gamma" with the proper type (2) PASS
DeviceOrientationEvent interface: new DeviceOrientationEvent("foo") must inherit property "absolute" with the proper type (3) PASS
DeviceMotionEvent interface: existence and properties of interface object PASS
DeviceMotionEvent interface object length PASS
DeviceMotionEvent interface object name PASS
DeviceMotionEvent interface: existence and properties of interface prototype object FAIL assert_equals: class string of DeviceMotionEvent.prototype expected "[object DeviceMotionEventPrototype]" but got "[object DeviceMotionEvent]"
DeviceMotionEvent interface: existence and properties of interface prototype object's "constructor" property PASS
DeviceMotionEvent interface: attribute acceleration PASS
DeviceMotionEvent interface: attribute accelerationIncludingGravity PASS
DeviceMotionEvent interface: attribute rotationRate PASS
DeviceMotionEvent interface: attribute interval PASS
DeviceMotionEvent must be primary interface of new DeviceMotionEvent("foo") PASS
Stringification of new DeviceMotionEvent("foo") PASS
DeviceMotionEvent interface: new DeviceMotionEvent("foo") must inherit property "acceleration" with the proper type (0) PASS
DeviceMotionEvent interface: new DeviceMotionEvent("foo") must inherit property "accelerationIncludingGravity" with the proper type (1) PASS
DeviceMotionEvent interface: new DeviceMotionEvent("foo") must inherit property "rotationRate" with the proper type (2) PASS
DeviceMotionEvent interface: new DeviceMotionEvent("foo") must inherit property "interval" with the proper type (3) FAIL assert_equals: expected "number" but got "object"

@reillyeon
Copy link
Contributor Author

Can you please review this change @sideshowbarker?

@annevk annevk merged commit 63d40d1 into web-platform-tests:master Mar 23, 2017
@annevk
Copy link
Member

annevk commented Mar 23, 2017

@reillyeon next time you ask on IRC please say when it's a trivial change. 😊 Appreciate the PR!

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