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

Side by Side Diff: LayoutTests/media/video-controls-attribute-fullscreen.html

Issue 351213007: Ensure that the controls attribute is correctly reflected in JS. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: REbase 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/media/video-controls-attribute-fullscreen-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <title>Test that the controls attribute is not affected by fullscreen</t itle>
5 <script src="media-file.js"></script>
6 <script src="video-test.js"></script>
7 <script>
8 function start()
9 {
10 findMediaElement();
11 video.src = findMediaFile("video", "content/test");
12 waitForEvent("loadeddata", loadeddata);
13 }
14
15 function loadeddata()
16 {
17 testExpected("video.controls", false);
18 waitForEventOnce("webkitfullscreenchange", fullscreenchange);
19 document.addEventListener("click", function()
20 {
21 run("video.webkitRequestFullscreen()");
22 });
23 eventSender.mouseDown();
24 eventSender.mouseUp();
25 }
26
27 function fullscreenchange()
28 {
29 testExpected("video.controls", false);
30 endTest();
31 }
32 </script>
33 </head>
34 <body onload="start()">
35 <p>Test that the controls attribute is not affected by fullscreen</p>
36 <video></video>
37 </body>
38 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/media/video-controls-attribute-fullscreen-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698