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

Unified Diff: LayoutTests/fullscreen/full-screen-iframe-legacy.html

Issue 178003008: Remove the HTMLVideoElement-specific prefixed fullscreen API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm negative test Created 6 years, 10 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/fullscreen/full-screen-iframe-legacy-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fullscreen/full-screen-iframe-legacy.html
diff --git a/LayoutTests/fullscreen/full-screen-iframe-legacy.html b/LayoutTests/fullscreen/full-screen-iframe-legacy.html
index be701645e3f11fd9350ff9addf5cc5bea415bffe..187a3397f31bd4f8a72eb257be5e349af132a04d 100644
--- a/LayoutTests/fullscreen/full-screen-iframe-legacy.html
+++ b/LayoutTests/fullscreen/full-screen-iframe-legacy.html
@@ -1,6 +1,7 @@
<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=61461">bug 61461</a>:
-Handle entering full screen security restrictions</p>
-<p>To test manually, click the video "full screen" button - the page should enter full screen mode.</p>
+Handle entering full screen security restrictions.
+Note that the original pass condition has been reversed.</p>
+<p>To test manually, click the video "full screen" button - the page should NOT enter full screen mode.</p>
<script src="full-screen-test.js"></script>
<script src="../media/media-file.js"></script>
<script>
@@ -10,16 +11,15 @@ function canplaythrough() {
runWithKeyDown(function() {
var video = frame.contentDocument.getElementsByTagName('video')[0];
- video.webkitEnterFullScreen();
+ video.webkitRequestFullscreen();
});
}
function runTest() {
var frame = document.getElementById('frame');
- waitForEvent(frame.contentDocument, 'webkitfullscreenchange', function() {
- test("document.getElementById('frame').contentDocument.width==document.width")
- endTest();
+ waitForEvent(frame.contentDocument, 'webkitfullscreenerror', function() {
+ endTest();
});
var video = frame.contentDocument.getElementsByTagName('video')[0];
« no previous file with comments | « no previous file | LayoutTests/fullscreen/full-screen-iframe-legacy-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698