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

Unified Diff: chrome/test/android/javatests/src/org/chromium/chrome/test/util/ChromeTabUtils.java

Issue 2682693003: Add debug information for crbug.com/687143 (Closed)
Patch Set: Created 3 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/android/javatests/src/org/chromium/chrome/test/util/ChromeTabUtils.java
diff --git a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/ChromeTabUtils.java b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/ChromeTabUtils.java
index 9ba11cfd776dc7595e06a02c3185a866f536c4f6..9b6f2bb518f89732efdf2db93577b96b9aab3aea 100644
--- a/chrome/test/android/javatests/src/org/chromium/chrome/test/util/ChromeTabUtils.java
+++ b/chrome/test/android/javatests/src/org/chromium/chrome/test/util/ChromeTabUtils.java
@@ -81,7 +81,11 @@ public class ChromeTabUtils {
try {
loadedCallback.waitForCallback(0);
} catch (TimeoutException e) {
- Assert.fail("Failed to load URL: " + url + ", final URL: " + tab.getUrl());
+ Assert.fail("Page did not load. Tab information at time of failure --"
+ + " url: " + url
+ + ", final URL: " + tab.getUrl()
+ + ", load progress: " + tab.getProgress()
+ + ", is loading: " + Boolean.toString(tab.isLoading()));
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698