mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: bump chromium to 78.0.3904.68 (7-0-x) (#20643)
* chore: bump chromium to 78.0.3904.68 * update chromium patches * explicitly cancel redirects when the mode is 'error'
This commit is contained in:
committed by
John Kleinschmidt
parent
e23030b69e
commit
5cb6ba2883
@@ -420,6 +420,7 @@ void URLRequestNS::OnRedirect(
|
||||
|
||||
switch (redirect_mode_) {
|
||||
case network::mojom::RedirectMode::kError:
|
||||
Cancel();
|
||||
EmitError(
|
||||
EventType::kRequest,
|
||||
"Request cannot follow redirect with the current redirect mode");
|
||||
|
||||
Reference in New Issue
Block a user