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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor-expected.txt

Issue 2510133002: Add getCoalescedEvents API to PointerEvent (Closed)
Patch Set: rebase Created 4 years, 1 month 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: third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor-expected.txt b/third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor-expected.txt
index 49f051f4beac2c88b9854a0b1ba8ca884f516f77..2b35ba32fe74ed50d0ae803b400bd4ee7b636a05 100644
--- a/third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/events/constructors/pointer-event-constructor-expected.txt
@@ -260,6 +260,14 @@ PASS new PointerEvent('eventType').metaKey is false
PASS new PointerEvent('eventType').button is 0
PASS new PointerEvent('eventType').buttons is 0
PASS new PointerEvent('eventType').relatedTarget is null
+--- tests for coalesced events ---
+PASS pe.getCoalescedEvents().length is 2
+PASS pe.pressure is within 0.00001 of 0.1
+PASS pe.getCoalescedEvents()[0].pressure is within 0.00001 of 1
+PASS pe.getCoalescedEvents()[1].pressure is within 0.00001 of 0.5
+PASS pe.pointerId is 1
+PASS pe.getCoalescedEvents()[0].pointerId is 2
+PASS pe.getCoalescedEvents()[1].pointerId is 2
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698