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

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

Issue 775763007: Use event init dictionary in modules/device_light (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
1 Tests that document.createEvent() works with DeviceLightEvent. 1 Tests that document.createEvent() works with DeviceLightEvent.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS typeof event == 'object' is true 6 PASS typeof event == 'object' is true
7 PASS event.__proto__ is DeviceLightEvent.prototype 7 PASS event.__proto__ is DeviceLightEvent.prototype
8 PASS event instanceof window.DeviceLightEvent is true 8 PASS event instanceof window.DeviceLightEvent is true
9 PASS 'type' in event is true 9 PASS 'type' in event is true
10 PASS 'bubbles' in event is true 10 PASS 'bubbles' in event is true
11 PASS 'cancelable' in event is true 11 PASS 'cancelable' in event is true
12 PASS 'value' in event is true 12 PASS 'value' in event is true
13 PASS typeof newEvent.type == 'string' is true 13 PASS typeof newEvent.type == 'string' is true
14 PASS newEvent.type is "devicelight" 14 PASS newEvent.type is "devicelight"
15 PASS typeof newEvent.bubbles == 'boolean' is true 15 PASS typeof newEvent.bubbles == 'boolean' is true
16 PASS newEvent.bubbles is true 16 PASS newEvent.bubbles is true
17 PASS typeof newEvent.cancelable == 'boolean' is true 17 PASS typeof newEvent.cancelable == 'boolean' is true
18 PASS newEvent.cancelable is false 18 PASS newEvent.cancelable is false
19 PASS typeof newEvent.value == 'number' is true 19 PASS typeof newEvent.value == 'number' is true
20 PASS newEvent.value is 10 20 PASS newEvent.value is 10
21 PASS defaultEvent.bubbles is true 21 PASS defaultEvent.bubbles is false
22 PASS defaultEvent.cancelable is false 22 PASS defaultEvent.cancelable is false
23 PASS successfullyParsed is true 23 PASS successfullyParsed is true
24 24
25 TEST COMPLETE 25 TEST COMPLETE
26 26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698