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

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

Issue 2898503002: Reenable feature policy control over fullscreen (Closed)
Patch Set: Fixing last test nits Created 3 years, 4 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
Index: third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-legacy.html
diff --git a/third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-legacy.html b/third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-legacy.html
deleted file mode 100644
index 3c0aa98b7a2d6bfbb12ccef6142839119696118c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-legacy.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<p>HTMLVideoElement.webkitEnterFullScreen() in an iframe requires the allowfullscreen attribute</p>
-<script src="full-screen-test.js"></script>
-<script src="../media/media-file.js"></script>
-<script>
-var frame, video;
-
-function canplaythrough() {
- testExpected("video.webkitDisplayingFullscreen", false);
- runWithKeyDown(function() {
- video.webkitEnterFullScreen();
- });
- waitForEventAndEnd(frame.contentDocument, "webkitfullscreenerror");
-}
-
-function runTest() {
- frame = document.getElementById("frame");
- video = frame.contentDocument.querySelector("video");
- video.src = findMediaFile("video", "../../media/content/test");
- video.addEventListener("canplaythrough", canplaythrough);
-}
-</script>
-<iframe id="frame" src="resources/legacy.html" onload="runTest()" width="336" height="256">
-</iframe>

Powered by Google App Engine
This is Rietveld 408576698