Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: components/error_page/common/localized_error.cc

Issue 2917133002: Perform redirect checks before OnReceivedRedirect in //net. (Closed)
Patch Set: nasko comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/net/errorpage_browsertest.cc ('k') | content/browser/browser_side_navigation_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/error_page/common/localized_error.cc
diff --git a/components/error_page/common/localized_error.cc b/components/error_page/common/localized_error.cc
index 7400c61131426654fc5a7837b2e6f0e2aa9173bf..e0ac6f3399f956611116c94d882f97171c6c70e5 100644
--- a/components/error_page/common/localized_error.cc
+++ b/components/error_page/common/localized_error.cc
@@ -236,6 +236,12 @@ const LocalizedErrorMap net_error_options[] = {
SUGGEST_NONE,
SHOW_BUTTON_RELOAD,
},
+ {net::ERR_INVALID_REDIRECT,
+ IDS_ERRORPAGES_HEADING_PAGE_NOT_WORKING,
+ IDS_ERRORPAGES_SUMMARY_INVALID_RESPONSE,
+ SUGGEST_NONE,
+ SHOW_BUTTON_RELOAD,
+ },
{net::ERR_SSL_PROTOCOL_ERROR,
IDS_ERRORPAGES_HEADING_INSECURE_CONNECTION,
IDS_ERRORPAGES_SUMMARY_INVALID_RESPONSE,
« no previous file with comments | « chrome/browser/net/errorpage_browsertest.cc ('k') | content/browser/browser_side_navigation_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698