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

Unified Diff: LayoutTests/fast/media/viewport-in-standalone-media-document.html

Issue 74783002: Move media (as in audio/video) tests to media/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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: LayoutTests/fast/media/viewport-in-standalone-media-document.html
diff --git a/LayoutTests/fast/media/viewport-in-standalone-media-document.html b/LayoutTests/fast/media/viewport-in-standalone-media-document.html
deleted file mode 100644
index a777146eb98eadced132ffdc6a9ff86dba0905ef..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/media/viewport-in-standalone-media-document.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <script src="../../media/media-file.js"></script>
- <script src="../../media/video-test.js"></script>
- <script>
- var metaElement;
- var standaloneMediaDocument;
- var skipOnFirstEmptyLoad = 0;
-
- function frameLoaded()
- {
- if (++skipOnFirstEmptyLoad == 1)
- return;
-
- standaloneMediaDocument = document.getElementById("videoframe").contentDocument;
- metaElement = standaloneMediaDocument.querySelector("meta");
-
- testExpected("metaElement.name", "viewport");
- testExpected("metaElement.content", "width=device-width");
-
- endTest();
- }
- </script>
- </head>
- <body>
- <p>
- This tests that a standalone media document has viewport settings.
- </p>
- <iframe id="videoframe" onload="frameLoaded()"></iframe>
- <script>
- document.getElementById("videoframe").src = "../../media/" + findMediaFile("video", "content/test");
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698