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

Unified Diff: LayoutTests/fast/events/touch/script-tests/basic-single-touch-events.js

Issue 990193002: Tweaks layoutTests to use eventSender.setTouchPointRadius correctly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/touch/script-tests/basic-single-touch-events.js
diff --git a/LayoutTests/fast/events/touch/script-tests/basic-single-touch-events.js b/LayoutTests/fast/events/touch/script-tests/basic-single-touch-events.js
index 0741c8c0a57df6241b0f42f6d445671c8438fb03..58e268e3b44fe45a01b408aa3faefa7fe728934e 100644
--- a/LayoutTests/fast/events/touch/script-tests/basic-single-touch-events.js
+++ b/LayoutTests/fast/events/touch/script-tests/basic-single-touch-events.js
@@ -92,13 +92,11 @@ function verifyTouch(which) {
function singleTouchSequence()
{
- if (eventSender.setTouchPointRadius)
- eventSender.setTouchPointRadius(10,10);
- eventSender.addTouchPoint(10, 10);
+ eventSender.addTouchPoint(10, 10, 10, 10);
Rick Byers 2015/03/12 14:24:40 If we've got setTouchPointRadius, then let's just
d.pikalov 2015/03/16 16:48:44 There is problem - setTouchPointRadius() sets even
Rick Byers 2015/03/16 18:43:17 Ah, sorry I didn't appreciate that this was more c
eventSender.touchStart();
if (eventSender.setTouchPointRadius)
- eventSender.setTouchPointRadius(12,12);
+ eventSender.setTouchPointRadius(0,12,12);
eventSender.updateTouchPoint(0, 50, 50);
eventSender.setTouchModifier("shift", true);
eventSender.setTouchModifier("alt", true);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698