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

Side by Side Diff: chrome/test/data/media/test_key_system_instantiation.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <body>
3 <video controls="" name="video">
4 <!-- This test doesn't play the video, so any file will do
5 as long as it can be loaded. -->
6 <source src="bear-320x240-av-enc_a.webm" type="video/webm">
7 </video>
8 <script type="text/javascript">
9 function testKeySystemInstantiation(keySystem) {
10 var video = document.getElementsByTagName('video')[0];
11 var initData = new Uint8Array([0x41, 0x42, 0x43]);
12 try {
13 video.webkitGenerateKeyRequest(keySystem, initData);
14 return 'success';
15 } catch (err) {
16 return err.name;
17 }
18 }
19 </script>
20 </body>
21 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/media/mse_config_change.html ('k') | content/browser/media/encrypted_media_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698