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

Unified Diff: net/base/net_error_list.h

Issue 2425663002: Add an error page for resources blocked via XSS Auditor. (Closed)
Patch Set: XSS_AUDITOR. Created 4 years, 2 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
Index: net/base/net_error_list.h
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index 2ea5d9aefc3928033f9b938b614bfb091455a708..42ebb609af0c29421505216b9aa680327cbb634c 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -112,6 +112,10 @@ NET_ERROR(CONTEXT_SHUT_DOWN, -26)
// checks, for instance).
NET_ERROR(BLOCKED_BY_RESPONSE, -27)
+// The request failed after the response was received, based on client-side
+// heuristics that point to the possiblility of a cross-site scripting attack.
+NET_ERROR(BLOCKED_BY_XSS_AUDITOR, -28)
+
// A connection was closed (corresponding to a TCP FIN).
NET_ERROR(CONNECTION_CLOSED, -100)

Powered by Google App Engine
This is Rietveld 408576698