renderer: dont fork the process when there is server redirect
This commit is contained in:
Родитель
f5a093db58
Коммит
ab9d1bf97e
|
@ -194,7 +194,7 @@ bool AtomRendererClient::ShouldFork(blink::WebLocalFrame* frame,
|
|||
// the OpenURLFromTab is triggered, which means form posting would not work,
|
||||
// we should solve this by patching Chromium in future.
|
||||
*send_referrer = true;
|
||||
return http_method == "GET";
|
||||
return http_method == "GET" && !is_server_redirect;
|
||||
}
|
||||
|
||||
content::BrowserPluginDelegate* AtomRendererClient::CreateBrowserPluginDelegate(
|
||||
|
|
Загрузка…
Ссылка в новой задаче