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

Unified Diff: LayoutTests/media/video-size-intrinsic-scale.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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: LayoutTests/media/video-size-intrinsic-scale.html
diff --git a/LayoutTests/media/video-size-intrinsic-scale.html b/LayoutTests/media/video-size-intrinsic-scale.html
deleted file mode 100644
index 22eb4cbd8063446667fc921dbdea2ed8e629c9d9..0000000000000000000000000000000000000000
--- a/LayoutTests/media/video-size-intrinsic-scale.html
+++ /dev/null
@@ -1,87 +0,0 @@
-<html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>&lt;video&gt; element intrinsic size test</title>
- <script src=video-test.js></script>
-
- <script>
-
- var movieInfo =
- {
- current:0,
- movies:
- [
- {
- url:"content/scaled-matrix.mov",
- description:"saved with a non identity matrix",
- width:640,
- height:480
- },
- {
- url:"content/720x576i-anamorphic.mov",
- description:"encoded with PAL non-square pixels, clean aperture corrects pixel aspect ratio when displayed",
- width:1024,
- height:576
- },
- ]
- };
-
- function testSize()
- {
- var movie = movieInfo.movies[movieInfo.current];
-
- testExpected("video.videoWidth", movie.width);
- testExpected("video.videoHeight", movie.height);
-
- movieInfo.current++;
- openNextMovie();
- }
-
- function openNextMovie()
- {
- consoleWrite("");
- if (movieInfo.current >= movieInfo.movies.length)
- {
- endTest();
- return;
- }
-
- var url = movieInfo.movies[movieInfo.current].url;
- video.src = url;
- var desc = "<b>Loading</b> <em>\""+ url + "\"</em>" +
- ". Movie " + movieInfo.movies[movieInfo.current].description + ".</em>";
- consoleWrite(desc);
- if (movieInfo.current > 0)
- video.load();
- }
-
- function start()
- {
- findMediaElement();
-
- waitForEvent("error");
- waitForEvent("loadstart");
- waitForEvent("waiting");
- waitForEvent("ratechange");
- waitForEvent("durationchange");
- waitForEvent("pause");
- waitForEvent("play");
- waitForEvent("playing");
-
- waitForEvent('loadedmetadata', testSize);
-
- consoleWrite("<b>Test size before movie is open:</b>");
- testExpected("video.videoWidth", 0, "==");
- testExpected("video.videoHeight", 0, "==");
-
- openNextMovie();
- }
- </script>
- </head>
-
- <body onload="start()">
-
- <video controls></video>
-
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698