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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedErrorTest.java

Issue 16441002: [Android WebView] Fix error description setting for provisional load (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedErrorTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedErrorTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedErrorTest.java
index d9497e7f878cb59b1461e6b03039c338437c29d3..664cb98e74e1e1a2083d813acd02e50ae3b2c387 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedErrorTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/ClientOnReceivedErrorTest.java
@@ -135,5 +135,6 @@ public class ClientOnReceivedErrorTest extends AwTestBase {
onReceivedErrorHelper.getErrorCode());
assertEquals(url, onReceivedErrorHelper.getFailingUrl());
assertNotNull(onReceivedErrorHelper.getDescription());
+ assertFalse(onReceivedErrorHelper.getDescription().isEmpty());
benm (inactive) 2013/06/05 09:35:08 nit: Could remove the not null assert above I gues
mnaganov (inactive) 2013/06/05 09:46:21 Yes, if the description will happen to be null, th
}
}

Powered by Google App Engine
This is Rietveld 408576698