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

Unified Diff: LayoutTests/media/video-enter-fullscreen-without-user-gesture.html

Issue 212323003: Remove the mediaFullscreenRequiresUserGesture setting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: drop include 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/media/video-enter-fullscreen-without-user-gesture-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/video-enter-fullscreen-without-user-gesture.html
diff --git a/LayoutTests/media/video-enter-fullscreen-without-user-gesture.html b/LayoutTests/media/video-enter-fullscreen-without-user-gesture.html
index 3d0c875548de9fce8b798230cc78204a31c41ecd..5baaa053d7183f547d83b1c2dd6f47c5f5247ce0 100644
--- a/LayoutTests/media/video-enter-fullscreen-without-user-gesture.html
+++ b/LayoutTests/media/video-enter-fullscreen-without-user-gesture.html
@@ -1,24 +1,16 @@
<html>
<head>
- <title>Test that video webkitRequestFullscreen() works without any user gesture if the requirement is removed.</title>
+ <title>Test webkitRequestFullscreen() without any user gesture.</title>
<script src=media-file.js></script>
<script src=video-test.js></script>
<script>
- if (window.internals)
- window.internals.settings.setMediaFullscreenRequiresUserGesture(false);
-
function canplaythrough()
{
consoleWrite("");
consoleWrite("* No user gesture initiated");
testExpected("video.paused", true);
run("video.webkitRequestFullscreen()");
- waitForEvent('webkitfullscreenchange', fullscreenchange);
- }
-
- function fullscreenchange()
- {
- endTest();
+ waitForEvent('webkitfullscreenerror', endTest);
}
function start()
@@ -31,7 +23,7 @@
</head>
<body onload="start()">
- <p>Test that video webkitRequestFullscreen() works without any user gesture if the requirement is removed.</p>
+ <p>Test webkitRequestFullscreen() without any user gesture.</p>
<video controls></video>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/media/video-enter-fullscreen-without-user-gesture-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698