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

Unified Diff: chrome/test/data/media/html/media_track.html

Issue 9666032: Cleanup deprecated PyAuto media tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update year. Created 8 years, 9 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 | « chrome/test/data/media/html/media_perf.html ('k') | chrome/test/data/media/html/player.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/media/html/media_track.html
diff --git a/chrome/test/data/media/html/media_track.html b/chrome/test/data/media/html/media_track.html
deleted file mode 100644
index cfd6c475733066891294ba76ac167df0aee9e54d..0000000000000000000000000000000000000000
--- a/chrome/test/data/media/html/media_track.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<!--
-This HTML file contains a div for a player which is used for track testing
-(chrome/test/functional/media_track.py). This file is modification of
-http://www.annacavender.com/track/demo1/trackdemo.html.
-
-The query string should contain the following information:
- tag (optional): HTML video/audio tag (default is video).
- media (required): media file name.
- t (optional): if specified, disables the media cache.
- track (required): the name of the track file (out-of-band).
-
- Example: "media_track.html?tag=video&media=foo.webm&track=track.vtt"
--->
-<html>
-<body onload="getTrackInfo()">
-<div id='player_container'></div>
-<textarea rows="50" cols="50" id="text"> Default text.
-</textarea>
-<script type='text/javascript' src='player.js'></script>
-<script>
-function getTrackInfo() {
- var tr = document.getElementById('track');
- var ta = document.getElementById('text');
- ta.value = "track src = " + tr.src + "\n";
- ta.value += "track srclang = " + tr.srclang + "\n";
- ta.value += "track kind = " + tr.kind + "\n";
- ta.value += "track label = " + tr.label + "\n";
- ta.value += "track default = " + tr.getAttribute('default') + "\n\n";
- ta.value += "CUES: (" + tr.track.cues.length + ")\n";
- for (var i = 0; i < tr.track.cues.length; i++) {
- ta.value += tr.track.cues[i].id + ": ";
- ta.value += tr.track.cues[i].startTime + " --> " + tr.track.cues[i].endTime
- + "\n";
- ta.value += tr.track.cues[i].getCueAsSource() + "\n";
- }
- ta.value += "END\n";
-}
-
-if (ok) {
- player.play();
-}
-</script>
-</body>
-</html>
« no previous file with comments | « chrome/test/data/media/html/media_perf.html ('k') | chrome/test/data/media/html/player.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698