Index: LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-page-not-propagated.html |
=================================================================== |
--- LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-page-not-propagated.html (revision 145820) |
+++ LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-page-not-propagated.html (working copy) |
@@ -86,23 +86,6 @@ |
var scrollEventsOccurred = 0; |
var expectedScrollEventsOccurred = '1'; |
-function recordScroll(event) { |
- debug('scroll event ' + scrollEventsOccurred + '+> ' + event.target); |
- scrollEventsOccurred++; |
- |
- if (window.eventSender) { |
- // Because scroll events arrive asynchronously, only one will arrive. |
- if (gesturesOccurred == expectedGesturesTotal) { |
- shouldBe('scrollEventsOccurred', expectedScrollEventsOccurred); |
- // If we've got here, we've passed. |
- successfullyParsed = true; |
- isSuccessfullyParsed(); |
- if (window.testRunner) |
- testRunner.notifyDone(); |
- } |
- } |
-} |
- |
// Always construct a page larger than the vertical height of the window. |
function buildPage() |
{ |
@@ -136,7 +119,8 @@ |
{ |
debug("second gesture"); |
eventSender.gestureScrollBegin(12, 40); |
- eventSender.gestureScrollUpdateWithoutPropagation(0, -250); |
+ eventSender.gestureScrollUpdateWithoutPropagation(0, -200); |
+ eventSender.gestureScrollUpdateWithoutPropagation(0, -160); |
eventSender.gestureScrollEnd(0, 0); |
// Wait for layout. |