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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/media/remote/CastSwitchVideoTest.java

Issue 2229353003: Clean up document-mode specific UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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: chrome/android/javatests/src/org/chromium/chrome/browser/media/remote/CastSwitchVideoTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/media/remote/CastSwitchVideoTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/media/remote/CastSwitchVideoTest.java
index fa5c1bfe9b73cc128ff6a502801ee1938940c853..f52409a189bf390446500fbc637f8703eb04c1d0 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/media/remote/CastSwitchVideoTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/media/remote/CastSwitchVideoTest.java
@@ -10,7 +10,6 @@ import android.test.suitebuilder.annotation.LargeTest;
import org.chromium.base.test.util.Feature;
import org.chromium.base.test.util.FlakyTest;
import org.chromium.chrome.browser.tab.Tab;
-import org.chromium.chrome.browser.util.FeatureUtilities;
import org.chromium.content.browser.test.util.DOMUtils;
import org.chromium.content_public.browser.WebContents;
@@ -27,8 +26,6 @@ public class CastSwitchVideoTest extends CastTestBase {
@LargeTest
@FlakyTest(message = "https://crbug.com/623526")
public void testPlayNewVideoInNewTab() throws InterruptedException, TimeoutException {
- // This won't currently work in document mode because we can't create new tabs
- if (FeatureUtilities.isDocumentMode(getActivity())) return;
checkPlaySecondVideo(DEFAULT_VIDEO_PAGE, VIDEO_ELEMENT, new Runnable() {
@Override
public void run() {
@@ -79,8 +76,6 @@ public class CastSwitchVideoTest extends CastTestBase {
@LargeTest
@FlakyTest(message = "https://crbug.com/623526")
public void testCastNewVideoInNewTab() throws InterruptedException, TimeoutException {
- // This won't currently work in document mode because we can't create new tabs
- if (FeatureUtilities.isDocumentMode(getActivity())) return;
checkCastSecondVideo(DEFAULT_VIDEO_PAGE, new Runnable() {
@Override
public void run() {

Powered by Google App Engine
This is Rietveld 408576698