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

Unified Diff: LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-page-not-propagated.html

Issue 732483003: Remove GestureScrollUpdateWithoutPropagation event (blink) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 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: LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-page-not-propagated.html
diff --git a/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-page-not-propagated.html b/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-page-not-propagated.html
index cfbfebf27555749645480de84e684c2a3212dce3..18629f9f4d6cb5d1d2468a2559468b6c98341571 100644
--- a/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-page-not-propagated.html
+++ b/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-page-not-propagated.html
@@ -107,7 +107,7 @@ function firstGestureScroll()
{
debug("first gesture");
eventSender.gestureScrollBegin(10, 72);
- eventSender.gestureScrollUpdateWithoutPropagation(0, -110);
+ eventSender.gestureScrollUpdate(0, -110, true);
eventSender.gestureScrollEnd(0, 0);
// Wait for layout.
@@ -118,8 +118,8 @@ function secondGestureScroll()
{
debug("second gesture");
eventSender.gestureScrollBegin(12, 40);
- eventSender.gestureScrollUpdateWithoutPropagation(0, -200);
- eventSender.gestureScrollUpdateWithoutPropagation(0, -160);
+ eventSender.gestureScrollUpdate(0, -200, true);
+ eventSender.gestureScrollUpdate(0, -160, true);
eventSender.gestureScrollEnd(0, 0);
// Wait for layout.
@@ -139,8 +139,8 @@ function runTest()
if (window.eventSender) {
description('This tests that a gesture scroll is not propagated from a div ' +
'to the page when the div has no remaining scroll offset when ' +
- 'the GestureScrollUpdateWithoutPropagation event type is used.');
- if (checkTestDependencies() && window.eventSender.gestureScrollUpdateWithoutPropagation)
+ 'the preventPropagation flag is set for the GestureScrollUpdate event.');
+ if (checkTestDependencies() && window.eventSender.gestureScrollUpdate)
firstGestureScroll();
else
exitIfNecessary();

Powered by Google App Engine
This is Rietveld 408576698