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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/PopupTest.java

Issue 2702503002: Block renderer-initiated main frame navigations to data URLs (Closed)
Patch Set: Fix Android PDF tests where PDFs should be downloaded Created 3 years, 8 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 | chrome/browser/apps/guest_view/web_view_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/javatests/src/org/chromium/chrome/browser/PopupTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/PopupTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/PopupTest.java
index 06795a0d4114df291148f77c601ee01a485f5c8e..8e53cfdd44ec5d116e2232e9203ab349b34714b1 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/PopupTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/PopupTest.java
@@ -112,7 +112,7 @@ public class PopupTest extends ChromeActivityTestCaseBase<ChromeActivity> {
@Override
public boolean isSatisfied() {
if (getNumInfobarsShowing() != 0) return false;
- return TextUtils.equals("Popup #3", selector.getCurrentTab().getTitle());
+ return TextUtils.equals("Three", selector.getCurrentTab().getTitle());
}
}, 7500, CriteriaHelper.DEFAULT_POLLING_INTERVAL);
@@ -126,7 +126,7 @@ public class PopupTest extends ChromeActivityTestCaseBase<ChromeActivity> {
public boolean isSatisfied() {
if (getNumInfobarsShowing() != 0) return false;
if (selector.getTotalTabCount() != 7) return false;
- return TextUtils.equals("Popup #3", selector.getCurrentTab().getTitle());
+ return TextUtils.equals("Three", selector.getCurrentTab().getTitle());
}
}, 7500, CriteriaHelper.DEFAULT_POLLING_INTERVAL);
assertNotSame(currentTabId, selector.getCurrentTab().getId());
« no previous file with comments | « no previous file | chrome/browser/apps/guest_view/web_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698