| 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() {
|
|
|