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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/encrypted-media/clearkey-mp4-syntax-mediakeysystemaccess.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 - Test navigator.requestmediakeysystemacce ss exception and MediaKeySystemAccess attribute syntax for 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
20 <!-- The script for this specific test -->
21 <script src=/encrypted-media/scripts/syntax-mediakeysystemaccess.js></script >
22
23 </head>
24 <body>
25 <div id='log'></div>
26 <div id='video'>
27 <video id="videoelement" width="200px"></video>
28 </div>
29 <script>
30 var contentItem = content['mp4-basic'],
31 config = {
32 keysystem: 'org.w3.clearkey',
33 content: contentItem,
34 initDataType: 'keyids',
35 initData: getInitData(contentItem, 'keyids'),
36 audioType: contentItem.audio.type,
37 videoType: contentItem.video.type
38 };
39 runTest(config);
40 </script>
41 </body>
42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698