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

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: LayoutTests fixed (expected results) 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 | LayoutTests/fast/events/touch/touch-browser-zoom-scales-radius.html » ('j') | 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..a029912b7dc9f2cb6b2dc5f74a00282a5b84e750 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,13 @@ function verifyTouch(which) {
function singleTouchSequence()
{
- if (eventSender.setTouchPointRadius)
- eventSender.setTouchPointRadius(10,10);
eventSender.addTouchPoint(10, 10);
+ if (eventSender.setTouchPointRadius)
+ eventSender.setTouchPointRadius(0, 10, 10, false);
eventSender.touchStart();
if (eventSender.setTouchPointRadius)
- eventSender.setTouchPointRadius(12,12);
+ eventSender.setTouchPointRadius(0, 12, 12, true);
eventSender.updateTouchPoint(0, 50, 50);
eventSender.setTouchModifier("shift", true);
eventSender.setTouchModifier("alt", true);
« no previous file with comments | « no previous file | LayoutTests/fast/events/touch/touch-browser-zoom-scales-radius.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698