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

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

Issue 408993002: Have media content and chrome browser tests load data from media/test/data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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: chrome/test/data/media/encrypted_frame_size_change.html
diff --git a/chrome/test/data/media/encrypted_frame_size_change.html b/chrome/test/data/media/encrypted_frame_size_change.html
deleted file mode 100644
index 5a909905e5e3fa727f19d58ea1770d1d4ed2f3d1..0000000000000000000000000000000000000000
--- a/chrome/test/data/media/encrypted_frame_size_change.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<html>
- <body onload="load()">
- <p>Tests decoding and rendering encrypted video element that has a changing
- resolution.</p>
- <video width=320 controls></video>
- <video controls></video>
- <script src='eme_player_js/app_loader.js' type='text/javascript'></script>
- <script>
- var firstVideoSeek = false;
- var video_fixed_size = document.getElementsByTagName("video")[0];
- var video = document.getElementsByTagName("video")[1];
- var testConfig = new TestConfig();
- testConfig.loadQueryParams();
-
- function load() {
- loadVideo(video_fixed_size);
- loadVideo(video);
- }
-
- function loadVideo(video) {
- var videoPlayer = PlayerUtils.createPlayer(video, testConfig);
- videoPlayer.init();
- video.addEventListener('playing', function() {
- // Make sure the video plays for a bit.
- video.addEventListener('timeupdate', function() {
- if (video.currentTime > 1.0) {
- video.pause();
- }
- });
- });
-
- video.addEventListener('pause', function() {
- video.addEventListener('seeked', function() {
- if (!firstVideoSeek) {
- Utils.timeLog('One video seeked.');
- firstVideoSeek = true;
- return;
- }
- Utils.setResultInTitle('ENDED');
- });
- video.currentTime = 0.5;
- });
-
- video.addEventListener('canplay', oncanplay);
- video.play();
- }
- </script>
- </body>
-</html>
« no previous file with comments | « chrome/test/data/media/eme_player_js/widevine_player.js ('k') | chrome/test/data/media/frame_size_change-av-enc-v.webm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698