chore: remove revert_remove_contentrendererclient_shouldfork.patch (#29842)
This commit is contained in:
parent
b8261f1591
commit
6e310b7424
8 changed files with 3 additions and 146 deletions
|
@ -165,17 +165,6 @@ void ElectronRendererClient::WillReleaseScriptContext(
|
|||
electron_bindings_->EnvironmentDestroyed(env);
|
||||
}
|
||||
|
||||
bool ElectronRendererClient::ShouldFork(blink::WebLocalFrame* frame,
|
||||
const GURL& url,
|
||||
const std::string& http_method,
|
||||
bool is_server_redirect) {
|
||||
// Handle all the navigations and reloads in browser.
|
||||
// FIXME We only support GET here because http method will be ignored when
|
||||
// the OpenURLFromTab is triggered, which means form posting would not work,
|
||||
// we should solve this by patching Chromium in future.
|
||||
return http_method == net::HttpRequestHeaders::kGetMethod;
|
||||
}
|
||||
|
||||
void ElectronRendererClient::WorkerScriptReadyForEvaluationOnWorkerThread(
|
||||
v8::Local<v8::Context> context) {
|
||||
// TODO(loc): Note that this will not be correct for in-process child windows
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue