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

Unified Diff: LayoutTests/media/video-controls-fullscreen-iframe.html

Issue 1159593006: Revert of Remove the allowfullscreen exemption for the video-specific fullscreen API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 6 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 | « LayoutTests/fullscreen/full-screen-iframe-legacy-expected.txt ('k') | Source/core/dom/Fullscreen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/video-controls-fullscreen-iframe.html
diff --git a/LayoutTests/media/video-controls-fullscreen-iframe.html b/LayoutTests/media/video-controls-fullscreen-iframe.html
deleted file mode 100644
index b8f1532f4ac15c534f145db33f2ebf6324d36830..0000000000000000000000000000000000000000
--- a/LayoutTests/media/video-controls-fullscreen-iframe.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>video controls fullscreen button in iframe without allowfullscreen attribute</title>
- <script src="../resources/testharness.js"></script>
- <script src="../resources/testharnessreport.js"></script>
- <script src="media-file.js"></script>
- <script src="media-controls.js"></script>
- </head>
- <body>
- <div id="log"></div>
- <iframe srcdoc="<video controls>" width="400" height="300"></iframe>
- <script>
- async_test(function()
- {
- var iframe = document.querySelector("iframe");
- iframe.onload = this.step_func(function()
- {
- var video = iframe.contentDocument.querySelector("video");
- video.src = findMediaFile("video", "content/test");
- video.onloadeddata = this.step_func(function()
- {
- // click the fullscreen button
- var coords = mediaControlsButtonCoordinates(video, "fullscreen-button");
- eventSender.mouseMoveTo(iframe.offsetLeft + coords[0], iframe.offsetTop + coords[1]);
- eventSender.mouseDown();
- eventSender.mouseUp();
- // wait for the fullscreenchange event
- video.onwebkitfullscreenchange = this.step_func_done();
- });
- });
- });
- </script>
- </body>
-</html>
« no previous file with comments | « LayoutTests/fullscreen/full-screen-iframe-legacy-expected.txt ('k') | Source/core/dom/Fullscreen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698