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

Unified Diff: LayoutTests/fast/events/mouse-event-from-touch-source-device-event-sender-expected.txt

Issue 1174683004: Populates sourceDevice attribute into MouseEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add initinternal 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/events/mouse-event-from-touch-source-device-event-sender-expected.txt
diff --git a/LayoutTests/fast/events/touch/touch-event-source-device-event-sender-expected.txt b/LayoutTests/fast/events/mouse-event-from-touch-source-device-event-sender-expected.txt
similarity index 63%
copy from LayoutTests/fast/events/touch/touch-event-source-device-event-sender-expected.txt
copy to LayoutTests/fast/events/mouse-event-from-touch-source-device-event-sender-expected.txt
index 9478d0a8d0b3ab88f4f4faa9e8d35812bb90cde4..b17b0ee18d33b77e4874082fe7a566a5a545b979 100644
--- a/LayoutTests/fast/events/touch/touch-event-source-device-event-sender-expected.txt
+++ b/LayoutTests/fast/events/mouse-event-from-touch-source-device-event-sender-expected.txt
@@ -1,21 +1,19 @@
-Test that touch events should have a sourceDevice and its firesTouchEvents should be true.
+Test that synthetic mouse events from touch events should have a sourceDevice and its firesTouchEvents should be true.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-Sending touchstart
+Sending gestureTap which synthesizes mousemove, mousedown, mouseup and click
+mousemove
PASS event.sourceDevice is non-null.
PASS event.sourceDevice.firesTouchEvents is true
-Sending touchmove
+mousedown
PASS event.sourceDevice is non-null.
PASS event.sourceDevice.firesTouchEvents is true
-Sending touchend
+mouseup
PASS event.sourceDevice is non-null.
PASS event.sourceDevice.firesTouchEvents is true
-Sending touchstart
-PASS event.sourceDevice is non-null.
-PASS event.sourceDevice.firesTouchEvents is true
-Sending touchcancel
+click
PASS event.sourceDevice is non-null.
PASS event.sourceDevice.firesTouchEvents is true
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698