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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/optional-event-properties-expected.txt

Issue 1737443002: Make DeviceOrientationEvent.prototype.absolute non-nullable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address feedback Created 4 years, 10 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/fast/dom/DeviceOrientation/optional-event-properties-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/optional-event-properties-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/optional-event-properties-expected.txt
index dc584fcb46d410350140495442851cdddb93fac6..7a7540e3240bc0198be211ca0e8419867d600367 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/optional-event-properties-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/optional-event-properties-expected.txt
@@ -7,11 +7,12 @@ event = document.createEvent('DeviceOrientationEvent')
PASS event.alpha == null is true
PASS event.beta == null is true
PASS event.gamma == null is true
-PASS event.absolute == null is true
-event.initDeviceOrientationEvent('', false, false, 0, 1, 2)
+PASS event.absolute is false
+event.initDeviceOrientationEvent('', false, false, 0, 1, 2, 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)
PASS event.alpha == 0 is true
PASS event.beta == 1 is true
@@ -21,22 +22,27 @@ event.initDeviceOrientationEvent()
PASS event.alpha == null is true
PASS event.beta == null is true
PASS event.gamma == null is true
-event.initDeviceOrientationEvent('', false, false, [], [], [])
+PASS event.absolute is false
+event.initDeviceOrientationEvent('', false, false, [], [], [], [])
PASS event.alpha == 0 is true
PASS event.beta == 0 is true
PASS event.gamma == 0 is true
-event.initDeviceOrientationEvent('', false, false, undefined, undefined, undefined)
+PASS event.absolute is true
+event.initDeviceOrientationEvent('', false, false, undefined, undefined, undefined, undefined)
PASS event.alpha == null is true
PASS event.beta == null is true
PASS event.gamma == null is true
-event.initDeviceOrientationEvent('', false, false, '', '', '')
+PASS event.absolute is false
+event.initDeviceOrientationEvent('', false, false, '', '', '', '')
PASS event.alpha == 0 is true
PASS event.beta == 0 is true
PASS event.gamma == 0 is true
-event.initDeviceOrientationEvent('', false, false, null, null, null)
+PASS event.absolute is false
+event.initDeviceOrientationEvent('', false, false, null, null, null, null)
PASS event.alpha == null is true
PASS event.beta == null is true
PASS event.gamma == null is true
+PASS event.absolute is false
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698