REGRESSION (r229828): web view doesn’t update or respond to resizing until client...
[WebKit-https.git] / Tools / TestWebKitAPI / cocoa / TestNavigationDelegate.mm
index 2bffcef..f5dfd5d 100644 (file)
     [navigationDelegate waitForDidFinishNavigation];
 
     self.navigationDelegate = nil;
+
+#if PLATFORM(IOS)
+    __block bool presentationUpdateHappened = false;
+    [self _doAfterNextPresentationUpdate:^{
+        presentationUpdateHappened = true;
+    }];
+    TestWebKitAPI::Util::run(&presentationUpdateHappened);
+#endif
 }
 
 @end