Index: LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-iframe-propagated.html |
=================================================================== |
--- LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-iframe-propagated.html (revision 145820) |
+++ LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-iframe-propagated.html (working copy) |
@@ -71,25 +71,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(); |
- } |
- } |
-} |
- |
- |
function firstGestureScroll() |
{ |
debug("first gesture"); |
@@ -105,7 +86,8 @@ |
{ |
debug("second gesture"); |
eventSender.gestureScrollBegin(12, 40); |
- eventSender.gestureScrollUpdate(0, -100); |
+ eventSender.gestureScrollUpdate(0, -10); |
+ eventSender.gestureScrollUpdate(0, -50); |
eventSender.gestureScrollEnd(0, 0); |
// Wait for layout. |