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

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: nits Created 6 years, 7 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/DeviceLight/create-event-expected.txt b/LayoutTests/fast/dom/DeviceLight/create-event-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0c004259a77d37e2b55e96618cde81cc7fb293d7
--- /dev/null
+++ b/LayoutTests/fast/dom/DeviceLight/create-event-expected.txt
@@ -0,0 +1,26 @@
+Tests that document.createEvent() works with DeviceLightEvent.
+
+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
+PASS newEvent.bubbles is true
+PASS typeof newEvent.cancelable == 'boolean' is true
+PASS newEvent.cancelable is false
+PASS typeof newEvent.value == 'number' is true
+PASS newEvent.value is 10
+PASS defaultEvent.bubbles is true
+PASS defaultEvent.cancelable is false
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/DeviceLight/create-event.html ('k') | LayoutTests/fast/dom/DeviceLight/window-property.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698