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

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: layout test 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..3ffdc7b2ad966dd807cafa07ce376386fc361d46
--- /dev/null
+++ b/LayoutTests/fullscreen/video-fail-to-enter-full-screen.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<body>
esprehn 2014/07/21 21:21:57 Leave out body
qinmin 2014/07/22 01:55:01 Done.
+ <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>
+</body>
« 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