Index: ios/web_view/internal/cwv_web_view.mm |
diff --git a/ios/web_view/internal/cwv_web_view.mm b/ios/web_view/internal/cwv_web_view.mm |
index 383dc77f8393615b4037bc136e64198f19423f04..08fb97d0cad8000af7e293c22ba15bca521b574e 100644 |
--- a/ios/web_view/internal/cwv_web_view.mm |
+++ b/ios/web_view/internal/cwv_web_view.mm |
@@ -132,7 +132,10 @@ - (void)goForward { |
} |
- (void)reload { |
- _webState->GetNavigationManager()->Reload(web::ReloadType::NORMAL, true); |
+ // |check_for_repost| is false because CWVWebView does not support repost form |
+ // dialogs. |
+ _webState->GetNavigationManager()->Reload(web::ReloadType::NORMAL, |
+ false /* check_for_repost */); |
} |
- (void)stopLoading { |