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

Unified Diff: LayoutTests/fullscreen/video-fail-to-enter-full-screen.html

Issue 399703002: Find the current fullscreen video element rather than the one on top of stack (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test expectations Created 6 years, 5 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
« no previous file with comments | « no previous file | LayoutTests/fullscreen/video-fail-to-enter-full-screen-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fullscreen/video-fail-to-enter-full-screen.html
diff --git a/LayoutTests/fullscreen/video-fail-to-enter-full-screen.html b/LayoutTests/fullscreen/video-fail-to-enter-full-screen.html
new file mode 100644
index 0000000000000000000000000000000000000000..aed847b3dc95924b11220b3eaf749edd70a72188
--- /dev/null
+++ b/LayoutTests/fullscreen/video-fail-to-enter-full-screen.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<p>This tests that the video should not be rendered in full screen if requestFullScreen() fails.</p>
+<video id="video" width="300"></video>
+<script>
+ if (window.internals)
+ runPixelTests = internals.runtimeFlags.overlayFullscreenVideoEnabled;
+</script>
+<script src="full-screen-test.js"></script>
+<script src="../media/media-controls.js"></script>
+<script>
+ var video = document.getElementById('video');
+ video.webkitRequestFullScreen();
+ setTimeout(function() {
+ endTest();
+ }, 300);
+</script>
« no previous file with comments | « no previous file | LayoutTests/fullscreen/video-fail-to-enter-full-screen-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698