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

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

Issue 2216593002: Drop document.createEvent support for things still behind a flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@createEvent
Patch Set: fix LayoutTests Created 4 years, 4 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/DeviceLight/create-event-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/DeviceLight/create-event-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/DeviceLight/create-event-expected.txt
index 0c004259a77d37e2b55e96618cde81cc7fb293d7..a2b696d9da8cd16ff6c5bc6faa02c6d9f683aff9 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/DeviceLight/create-event-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/dom/DeviceLight/create-event-expected.txt
@@ -1,15 +1,8 @@
-Tests that document.createEvent() works with DeviceLightEvent.
+Tests the DeviceLightEvent constructor.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS typeof event == 'object' is true
-PASS event.__proto__ is DeviceLightEvent.prototype
-PASS event instanceof window.DeviceLightEvent is true
-PASS 'type' in event is true
-PASS 'bubbles' in event is true
-PASS 'cancelable' in event is true
-PASS 'value' in event is true
PASS typeof newEvent.type == 'string' is true
PASS newEvent.type is "devicelight"
PASS typeof newEvent.bubbles == 'boolean' is true
@@ -20,6 +13,7 @@ PASS typeof newEvent.value == 'number' is true
PASS newEvent.value is 10
PASS defaultEvent.bubbles is true
PASS defaultEvent.cancelable is false
+PASS defaultEvent.value is Infinity
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698