Index: LayoutTests/media/video-play-require-user-gesture.html |
diff --git a/LayoutTests/media/video-play-require-user-gesture.html b/LayoutTests/media/video-play-require-user-gesture.html |
index 55ad82e4cb16b380a314d7199ca153b522929cdc..0e936071238ab2a2c6c1cd2d00fe44c120157d38 100644 |
--- a/LayoutTests/media/video-play-require-user-gesture.html |
+++ b/LayoutTests/media/video-play-require-user-gesture.html |
@@ -1,6 +1,6 @@ |
<html> |
<head> |
- <title>Test that video play, pause and enterfullscreen does not work unless a user gesture is involved in playing a video</title> |
+ <title>Test that video play does not work unless a user gesture is involved in playing a video</title> |
<script src=media-controls.js></script> |
<script src=media-file.js></script> |
<script src=video-test.js></script> |
@@ -41,14 +41,6 @@ |
function pause() |
{ |
testExpected("video.paused", true); |
- // Now video.webkitEnterFullScreen() should no longer throw any exception. |
- // However, the video element may not always enter fullscreen. For example, |
- // chromium uses fullscreen API which still requires user gesture |
- try { |
- run("video.webkitEnterFullScreen()"); |
- } catch(ex) { |
- failTest("video.webkitEnterFullScreen() still requires user gesture."); |
- } |
endTest(); |
} |
@@ -57,7 +49,6 @@ |
consoleWrite(""); |
consoleWrite("* No user gesture initiated"); |
run("video.play()"); |
- testDOMException("video.webkitEnterFullScreen()", "DOMException.INVALID_STATE_ERR"); |
testExpected("video.paused", true); |
consoleWrite(""); |
@@ -77,7 +68,7 @@ |
</head> |
<body onload="start()"> |
- <p>Test that video play(), pause() and webkitEnterFullScreen() should not work unless a user clicked on the play button.</p> |
+ <p>Test that video play() does not work unless a user clicked on the play button.</p> |
<video controls></video> |
</body> |
</html> |