| Index: chrome/browser/chromeos/arc/arc_navigation_throttle.cc
|
| diff --git a/chrome/browser/chromeos/arc/arc_navigation_throttle.cc b/chrome/browser/chromeos/arc/arc_navigation_throttle.cc
|
| index 4db4b12a3b23a32ff0badce1e5f90f7602386134..da9422ff6962f97d5d094491ae12ca23382e11bc 100644
|
| --- a/chrome/browser/chromeos/arc/arc_navigation_throttle.cc
|
| +++ b/chrome/browser/chromeos/arc/arc_navigation_throttle.cc
|
| @@ -103,7 +103,15 @@ content::NavigationThrottle::ThrottleCheckResult
|
| ArcNavigationThrottle::HandleRequest() {
|
| const GURL& url = navigation_handle()->GetURL();
|
|
|
| - if (ShouldIgnoreNavigation(navigation_handle()->GetPageTransition()))
|
| + // Always handle http(s) <form> submissions in Chrome for two reasons: 1) we
|
| + // don't have a way to send POST data to ARC, and 2) intercepting http(s) form
|
| + // submissions is not very important because such submissions are usually
|
| + // done within the same domain. ShouldOverrideUrlLoading() below filters out
|
| + // such submissions anyway.
|
| + constexpr bool kAllowFormSubmit = false;
|
| +
|
| + if (ShouldIgnoreNavigation(navigation_handle()->GetPageTransition(),
|
| + kAllowFormSubmit))
|
| return content::NavigationThrottle::PROCEED;
|
|
|
| const GURL previous_url = navigation_handle()->GetReferrer().url;
|
|
|