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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/ClickListenerTest.java

Issue 2199223002: Remove unnecessary page loading in ContentShellActivity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bringing back the assertWaitForPatchScaleFactorMatch check in ContentViewZoomingTest Created 4 years, 4 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: content/public/android/javatests/src/org/chromium/content/browser/ClickListenerTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/ClickListenerTest.java b/content/public/android/javatests/src/org/chromium/content/browser/ClickListenerTest.java
index 2c57e8143aa8a361c1c0a68db5477d0a00628c27..6d9e807901fba011bc56f0fc9ecdc2a6317db424 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/ClickListenerTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/ClickListenerTest.java
@@ -18,7 +18,6 @@ public class ClickListenerTest extends ContentDetectionTestBase {
public void testClickContentOnLink() throws Throwable {
startActivityWithTestUrl(
"content/test/data/android/content_detection/click_listeners.html");
- assertWaitForPageScaleFactorMatch(1.0f);
// Clicks on addresses in links should change the url.
scrollAndTapNavigatingOut("linktest");
@@ -30,7 +29,6 @@ public class ClickListenerTest extends ContentDetectionTestBase {
public void testClickContentOnJSListener1() throws Throwable {
startActivityWithTestUrl(
"content/test/data/android/content_detection/click_listeners.html");
- assertWaitForPageScaleFactorMatch(1.0f);
// Clicks on addresses in elements listening to click events should be
// processed normally without address detection.
@@ -43,7 +41,6 @@ public class ClickListenerTest extends ContentDetectionTestBase {
public void testClickContentOnJSListener2() throws Throwable {
startActivityWithTestUrl(
"content/test/data/android/content_detection/click_listeners.html");
- assertWaitForPageScaleFactorMatch(1.0f);
// Same as previous test, but using addEventListener instead of onclick.
scrollAndTapNavigatingOut("clicktest2");

Powered by Google App Engine
This is Rietveld 408576698