Index: android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFullScreenTest.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFullScreenTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFullScreenTest.java |
index b706c6f6ff3dde66ceaa05652c5dd377297b4003..2243accf1033b20f7744bef5f94a37a54e3dcfd3 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFullScreenTest.java |
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientFullScreenTest.java |
@@ -267,6 +267,11 @@ public class AwContentsClientFullScreenTest extends AwTestBase { |
// We need to wait because the surface view is first transfered, and then removed |
// asynchronously. |
VideoSurfaceViewUtils.waitAndAssertContainsZeroVideoHoleSurfaceViews(this, customView); |
+ |
+ // Exit fullscreen and verify that the video hole surface is re-created. |
+ DOMUtils.exitFullscreen(mContentViewCore.getWebContents()); |
+ VideoSurfaceViewUtils.pollAndAssertContainsOneVideoHoleSurfaceView(this, |
+ mTestContainerView); |
} |
@MediumTest |
@@ -478,6 +483,7 @@ public class AwContentsClientFullScreenTest extends AwTestBase { |
} |
} |
})); |
+ // TODO: Test that inline video is actually displayed. |
mkosiba (inactive)
2015/01/26 12:03:05
do we have a bug tracking this?
Hugo Holgersson
2015/01/26 14:37:36
Done. I created crbug.com/451995 for this.
|
} |
private void assertContainsContentVideoView() throws Exception { |