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

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

Issue 22599005: Blink-side layout tests for the new Device Orientation API. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased once more Created 7 years, 3 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: LayoutTests/fast/dom/DeviceOrientation/optional-event-properties-expected.txt
diff --git a/LayoutTests/fast/dom/DeviceOrientation/optional-event-properties-expected.txt b/LayoutTests/fast/dom/DeviceOrientation/optional-event-properties-expected.txt
index cd0e933964a9ef82865cedbe91851de1002c46a8..dc584fcb46d410350140495442851cdddb93fac6 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/optional-event-properties-expected.txt
+++ b/LayoutTests/fast/dom/DeviceOrientation/optional-event-properties-expected.txt
@@ -7,10 +7,16 @@ 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.alpha == 0 is true
PASS event.beta == 1 is true
PASS event.gamma == 2 is true
+event.initDeviceOrientationEvent('', false, false, 0, 1, 2, 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()
PASS event.alpha == null is true
PASS event.beta == null is true

Powered by Google App Engine
This is Rietveld 408576698