Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Unified Diff: third_party/WebKit/LayoutTests/device_orientation/orientation/optional-event-properties-expected.txt

Issue 2728963004: Remove non-standard DeviceOrientation Event initializers. (Closed)
Patch Set: Rebased. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/device_orientation/orientation/optional-event-properties-expected.txt
diff --git a/third_party/WebKit/LayoutTests/device_orientation/orientation/optional-event-properties-expected.txt b/third_party/WebKit/LayoutTests/device_orientation/orientation/optional-event-properties-expected.txt
index 7a7540e3240bc0198be211ca0e8419867d600367..0965c14743b00b1bbc617cb971b39bd95ca1a92c 100644
--- a/third_party/WebKit/LayoutTests/device_orientation/orientation/optional-event-properties-expected.txt
+++ b/third_party/WebKit/LayoutTests/device_orientation/orientation/optional-event-properties-expected.txt
@@ -8,37 +8,37 @@ PASS event.alpha == null is true
PASS event.beta == null is true
PASS event.gamma == null is true
PASS event.absolute is false
-event.initDeviceOrientationEvent('', false, false, 0, 1, 2, false)
+event = new DeviceOrientationEvent('', {alpha: 0, beta: 1, gamma: 2, absolute: false})
PASS event.alpha == 0 is true
PASS event.beta == 1 is true
PASS event.gamma == 2 is true
PASS event.absolute is false
-event.initDeviceOrientationEvent('', false, false, 0, 1, 2, true)
+event = new DeviceOrientationEvent('', {alpha: 0, beta: 1, gamma: 2, absolute: true})
PASS event.alpha == 0 is true
PASS event.beta == 1 is true
PASS event.gamma == 2 is true
PASS event.absolute is true
-event.initDeviceOrientationEvent()
+event = new DeviceOrientationEvent('')
PASS event.alpha == null is true
PASS event.beta == null is true
PASS event.gamma == null is true
PASS event.absolute is false
-event.initDeviceOrientationEvent('', false, false, [], [], [], [])
+event = new DeviceOrientationEvent('', {alpha: [], beta: [], gamma: [], absolute: []})
PASS event.alpha == 0 is true
PASS event.beta == 0 is true
PASS event.gamma == 0 is true
PASS event.absolute is true
-event.initDeviceOrientationEvent('', false, false, undefined, undefined, undefined, undefined)
+event = new DeviceOrientationEvent('', {alpha: undefined, beta: undefined, gamma: undefined, absolute: undefined})
PASS event.alpha == null is true
PASS event.beta == null is true
PASS event.gamma == null is true
PASS event.absolute is false
-event.initDeviceOrientationEvent('', false, false, '', '', '', '')
+event = new DeviceOrientationEvent('', {alpha: '', beta: '', gamma: '', absolute: ''})
PASS event.alpha == 0 is true
PASS event.beta == 0 is true
PASS event.gamma == 0 is true
PASS event.absolute is false
-event.initDeviceOrientationEvent('', false, false, null, null, null, null)
+event = new DeviceOrientationEvent('', {alpha: null, beta: null, gamma: null, absolute: null})
PASS event.alpha == null is true
PASS event.beta == null is true
PASS event.gamma == null is true

Powered by Google App Engine
This is Rietveld 408576698