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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/encrypted-media/clearkey-mp4-unique-origin.html

Issue 2546853003: Add W3C encrypted-media tests (Closed)
Patch Set: rebase now that content files landed Created 4 years 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
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset=utf-8>
5 <title>Encrypted Media Extensions: Unique origin with Clear Key, mp4</title>
6 <link rel="help" href="https://w3c.github.io/encrypted-media/">
7
8 <!-- Web Platform Test Harness scripts -->
9 <script src=/resources/testharness.js></script>
10 <script src=/resources/testharnessreport.js></script>
11
12 <!-- Helper scripts for Encrypted Media Extensions tests -->
13 <script src=/encrypted-media/util/utils.js></script>
14 <script src=/encrypted-media/util/utf8.js></script>
15 <script src=/encrypted-media/util/fetch.js></script>
16
17 <!-- Content metadata -->
18 <script src=/encrypted-media/content/content-metadata.js></script>
19 <!-- The script for this specific test -->
20 <script src=/encrypted-media/scripts/unique-origin.js></script>
21
22 </head>
23 <body>
24 <div id='log'></div>
25 <div id='video'>
26 <video id="videoelement" width="200px"></video>
27 </div>
28
29 <script>
30 var contentItem = content['mp4-av-multikey'],
31 config = {
32 video: document.getElementById('videoelement'),
33 keysystem: 'org.w3.clearkey',
34 initDataType: contentItem.initDataType,
35 audioType: contentItem.audio.type,
36 videoType: contentItem.video.type,
37 audioPath: contentItem.audio.path,
38 videoPath: contentItem.video.path
39 };
40 runTest(config);
41 </script>
42 </body>
43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698