| Index: third_party/WebKit/LayoutTests/device_orientation/motion/optional-event-properties-expected.txt
|
| diff --git a/third_party/WebKit/LayoutTests/device_orientation/motion/optional-event-properties-expected.txt b/third_party/WebKit/LayoutTests/device_orientation/motion/optional-event-properties-expected.txt
|
| index 13c18b8a3092781271836f06d7d3fc09592e6c81..858fada3baddc289a4b161b0cedd83be479d27ad 100644
|
| --- a/third_party/WebKit/LayoutTests/device_orientation/motion/optional-event-properties-expected.txt
|
| +++ b/third_party/WebKit/LayoutTests/device_orientation/motion/optional-event-properties-expected.txt
|
| @@ -7,7 +7,7 @@ event = document.createEvent('DeviceMotionEvent')
|
| PASS event.acceleration == null is true
|
| PASS event.accelerationIncludingGravity == null is true
|
| PASS event.rotationRate == null is true
|
| -PASS event.interval == null is true
|
| +PASS event.interval == 0 is true
|
| event = new DeviceMotionEvent('', {acceleration: {x: 0, y: 1, z: 2}, accelerationIncludingGravity: {x: 3, y: 4, z: 5}, rotationRate: {alpha: 6, beta: 7, gamma: 8}, interval: 9})
|
| PASS event.acceleration.x == 0 is true
|
| PASS event.acceleration.y == 1 is true
|
| @@ -40,7 +40,7 @@ event = new DeviceMotionEvent('')
|
| PASS event.acceleration == null is true
|
| PASS event.accelerationIncludingGravity == null is true
|
| PASS event.rotationRate == null is true
|
| -PASS event.interval == null is true
|
| +PASS event.interval == 0 is true
|
| event = new DeviceMotionEvent('', {acceleration: [], accelerationIncludingGravity: [], rotationRate: [], interval: []})
|
| PASS event.acceleration.x == null is true
|
| PASS event.acceleration.y == null is true
|
| @@ -58,12 +58,12 @@ PASS event.acceleration.y == null is true
|
| PASS event.acceleration.z == null is true
|
| PASS event.accelerationIncludingGravity == null is true
|
| PASS event.rotationRate == null is true
|
| -PASS event.interval == null is true
|
| +PASS event.interval == 0 is true
|
| event = new DeviceMotionEvent('', {acceleration: null, accelerationIncludingGravity: null, rotationRate: null, interval: null})
|
| PASS event.acceleration == null is true
|
| PASS event.accelerationIncludingGravity == null is true
|
| PASS event.rotationRate == null is true
|
| -PASS event.interval == null is true
|
| +PASS event.interval == 0 is true
|
| event = new DeviceMotionEvent('', {acceleration: {x: null, y: null, z: null}, accelerationIncludingGravity: {x: null, y: null, z: null}, rotationRate: {alpha: null, beta: null, gamma: null}, interval: null})
|
| PASS event.acceleration.x == null is true
|
| PASS event.acceleration.y == null is true
|
| @@ -74,7 +74,7 @@ PASS event.accelerationIncludingGravity.z == null is true
|
| PASS event.rotationRate.alpha == null is true
|
| PASS event.rotationRate.beta == null is true
|
| PASS event.rotationRate.gamma == null is true
|
| -PASS event.interval == null is true
|
| +PASS event.interval == 0 is true
|
| event = new DeviceMotionEvent('', {acceleration: {x: null, y: null, z: 1}, accelerationIncludingGravity: {x: null, y: null, z: 2}, rotationRate: {alpha: null, beta: null, gamma: 3}, interval: null})
|
| PASS event.acceleration.x == null is true
|
| PASS event.acceleration.y == null is true
|
| @@ -85,7 +85,7 @@ PASS event.accelerationIncludingGravity.z == 2 is true
|
| PASS event.rotationRate.alpha == null is true
|
| PASS event.rotationRate.beta == null is true
|
| PASS event.rotationRate.gamma == 3 is true
|
| -PASS event.interval == null is true
|
| +PASS event.interval == 0 is true
|
| event = new DeviceMotionEvent('', {acceleration: {x: undefined, y: undefined, z: undefined}, accelerationIncludingGravity: {x: undefined, y: undefined, z: undefined}, rotationRate: {alpha: undefined, beta: undefined, gamma: undefined}, interval: undefined})
|
| PASS event.acceleration.x == null is true
|
| PASS event.acceleration.y == null is true
|
| @@ -96,7 +96,7 @@ PASS event.accelerationIncludingGravity.z == null is true
|
| PASS event.rotationRate.alpha == null is true
|
| PASS event.rotationRate.beta == null is true
|
| PASS event.rotationRate.gamma == null is true
|
| -PASS event.interval == null is true
|
| +PASS event.interval == 0 is true
|
| event = new DeviceMotionEvent('', {acceleration: {x: undefined, y: undefined, z: 1}, accelerationIncludingGravity: {x: undefined, y: undefined, z: 2}, rotationRate: {alpha: undefined, beta: undefined, gamma: 3}, interval: undefined})
|
| PASS event.acceleration.x == null is true
|
| PASS event.acceleration.y == null is true
|
| @@ -107,7 +107,7 @@ PASS event.accelerationIncludingGravity.z == 2 is true
|
| PASS event.rotationRate.alpha == null is true
|
| PASS event.rotationRate.beta == null is true
|
| PASS event.rotationRate.gamma == 3 is true
|
| -PASS event.interval == null is true
|
| +PASS event.interval == 0 is true
|
| PASS successfullyParsed is true
|
|
|
| TEST COMPLETE
|
|
|