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

Unified Diff: android_webview/java/src/org/chromium/android_webview/ErrorCodeConversionHelper.java

Issue 1029313003: [Android WebView] Add tests for catching console messages on denied loads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedError2Test.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/ErrorCodeConversionHelper.java
diff --git a/android_webview/java/src/org/chromium/android_webview/ErrorCodeConversionHelper.java b/android_webview/java/src/org/chromium/android_webview/ErrorCodeConversionHelper.java
index 7656d8e43a87769cec12e703ce39895a89cbcebb..a4d38885b86320b293142d09a227ce8e3e5ec491 100644
--- a/android_webview/java/src/org/chromium/android_webview/ErrorCodeConversionHelper.java
+++ b/android_webview/java/src/org/chromium/android_webview/ErrorCodeConversionHelper.java
@@ -42,8 +42,6 @@ public abstract class ErrorCodeConversionHelper {
public static final int ERROR_FILE_NOT_FOUND = -14;
// Too many requests during this load
public static final int ERROR_TOO_MANY_REQUESTS = -15;
- // Request blocked by the browser
- public static final int ERROR_BLOCKED = -16;
static int convertErrorCode(int netError) {
// Note: many NetError.Error constants don't have an obvious mapping.
« no previous file with comments | « no previous file | android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedError2Test.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698