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

Side by Side Diff: LayoutTests/media/media-player-request-fullscreen.html

Issue 209693003: Make mediaPlayerRequestFullscreen() user gesture bypass explicit (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <title>Test mediaPlayerRequestFullscreen() without a user gesture.</titl e>
5 <script src=media-file.js></script>
6 <script src=video-test.js></script>
7 </head>
8 <body>
9 <p>Test mediaPlayerRequestFullscreen() without a user gesture.</p>
10 <video controls></video>
11 <script>
12 findMediaElement();
13 video.src = findMediaFile("video", "content/test");
14 waitForEvent('loadedmetadata', function()
15 {
16 internals.mediaPlayerRequestFullscreen(video);
17 waitForEvent('webkitfullscreenchange', endTest);
18 waitForEventAndFail('webkitfullscreenerror');
19 });
20 </script>
21 </body>
22 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/media/media-player-request-fullscreen-expected.txt » ('j') | Source/core/html/HTMLMediaElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698