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

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

Issue 2510133002: Add getCoalescedEvents API to PointerEvent (Closed)
Patch Set: add comment about the two added functions 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 2e6546215166f982595bf8e9dc2626526908afce..5500f166cc42d9351b0ae2b696786a3ccefb2582 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
@@ -152,6 +152,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