| 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 dbcb7b59f6c8b9d50a2d77e8c8b44f94cc30d496..9ae7227b8579c3ec001cf0eacf9eeb83c178d4d7 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
|
| @@ -11,7 +11,6 @@ import org.chromium.base.test.util.DisableIf;
|
| 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;
|
|
|
| @@ -28,8 +27,6 @@ public class CastSwitchVideoTest extends CastTestBase {
|
| @LargeTest
|
| @DisableIf.Build(hardware_is = "flo", 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() {
|
| @@ -80,8 +77,6 @@ public class CastSwitchVideoTest extends CastTestBase {
|
| @LargeTest
|
| @DisableIf.Build(hardware_is = "flo", 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() {
|
|
|