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

Unified Diff: LayoutTests/fast/dom/DeviceLight/create-event-expected.txt

Issue 143823004: Implement DeviceLight (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Event not Oilpan-ed yet. Add a test back Created 6 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: LayoutTests/fast/dom/DeviceLight/create-event-expected.txt
diff --git a/LayoutTests/fast/dom/DeviceOrientation/create-event-expected.txt b/LayoutTests/fast/dom/DeviceLight/create-event-expected.txt
similarity index 52%
copy from LayoutTests/fast/dom/DeviceOrientation/create-event-expected.txt
copy to LayoutTests/fast/dom/DeviceLight/create-event-expected.txt
index 4d27a58c73653aed3f0bdb4d7938b93a12e6fb71..ecdd6b2be716a2e5ec47792f34971a276caedd9d 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/create-event-expected.txt
+++ b/LayoutTests/fast/dom/DeviceLight/create-event-expected.txt
@@ -1,4 +1,4 @@
-Tests that document.createEvent() works with DeviceOrientationEvent.
+Tests that document.createEvent() works with DeviceLightEvent.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -7,17 +7,11 @@ PASS typeof event == 'object' is true
PASS 'type' in event is true
PASS 'bubbles' in event is true
PASS 'cancelable' in event is true
-PASS 'alpha' in event is true
-PASS 'beta' in event is true
-PASS 'gamma' in event is true
-PASS 'absolute' in event is true
+PASS 'value' in event is true
PASS typeof event.type == 'string' is true
PASS typeof event.bubbles == 'boolean' is true
PASS typeof event.cancelable == 'boolean' is true
-PASS typeof event.alpha == 'object' is true
-PASS typeof event.beta == 'object' is true
-PASS typeof event.gamma == 'object' is true
-PASS typeof event.absolute == 'object' is true
+PASS typeof event.value == 'number' is true
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698