Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / video-enter-fullscreen-without-user-gesture.html
blob5baaa053d7183f547d83b1c2dd6f47c5f5247ce0
1 <html>
2 <head>
3 <title>Test webkitRequestFullscreen() without any user gesture.</title>
4 <script src=media-file.js></script>
5 <script src=video-test.js></script>
6 <script>
7 function canplaythrough()
9 consoleWrite("");
10 consoleWrite("* No user gesture initiated");
11 testExpected("video.paused", true);
12 run("video.webkitRequestFullscreen()");
13 waitForEvent('webkitfullscreenerror', endTest);
16 function start()
18 findMediaElement();
19 waitForEvent('canplaythrough', canplaythrough);
20 video.src = findMediaFile("video", "content/test");
22 </script>
23 </head>
25 <body onload="start()">
26 <p>Test webkitRequestFullscreen() without any user gesture.</p>
27 <video controls></video>
28 </body>
29 </html>