OLD | NEW |
(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 |
OLD | NEW |