Make it possible to test non-stable-state scrolling on iOS
[WebKit-https.git] / Tools / WebKitTestRunner / ios / TestControllerIOS.mm
index 452c410..d85a6d7 100644 (file)
@@ -86,6 +86,7 @@ void TestController::platformResetStateToConsistentValues()
     cocoaResetStateToConsistentValues();
 
     if (PlatformWebView* webView = mainWebView()) {
+        webView->platformView()._stableStateOverride = nil;
         UIScrollView *scrollView = webView->platformView().scrollView;
         [scrollView setZoomScale:1 animated:NO];
         [scrollView setContentOffset:CGPointZero];