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

Side by Side Diff: LayoutTests/fast/events/uievent-with-inputdevice-expected.txt

Issue 1160753005: Implement UIEvent.sourceDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Set sourceDevice to null except uieventinit Created 5 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 This tests that UIEvent will have sourceDevice set to be null by default, and it can also be passed when initialization.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS event is non-null.
7 PASS event.sourceDevice is null
8 PASS new UIEvent('eventType', { sourceDevice: new InputDevice({ firesTouchEvents : false }) }).sourceDevice is non-null.
9 PASS new UIEvent('eventType', { sourceDevice: new InputDevice({ firesTouchEvents : false }) }).sourceDevice.firesTouchEvents is false
10 PASS new UIEvent('eventType', { sourceDevice: new InputDevice({ firesTouchEvents : true }) }).sourceDevice is non-null.
11 PASS new UIEvent('eventType', { sourceDevice: new InputDevice({ firesTouchEvents : true }) }).sourceDevice.firesTouchEvents is true
12 PASS successfullyParsed is true
13
14 TEST COMPLETE
15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698