]> khamidou — GitHub mirrors - electron.git/commitdiff
Revert "renderer: dont fork the process when there is server redirect"
authorCheng Zhao <zcbenz@gmail.com>
Fri, 29 Jan 2016 03:52:31 +0000 (11:52 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 29 Jan 2016 03:52:31 +0000 (11:52 +0800)
This reverts commit ab9d1bf97ed2015829bcc5381c149d2826d04015.

atom/renderer/atom_renderer_client.cc

index 15165efa330ab3210cb897ceff2db656db28ccc6..3c97db4b9788c4e3a3f4894a8f3e576b725c4197 100644 (file)
@@ -173,7 +173,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" && !is_server_redirect;
+  return http_method == "GET";
 }
 
 content::BrowserPluginDelegate* AtomRendererClient::CreateBrowserPluginDelegate(