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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/encrypted-media/drm-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 DRM, 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 keysystem = getSupportedKeySystem(),
32 config = {
33 video: document.getElementById('videoelement'),
34 keysystem: keysystem,
35 initDataType: contentItem.initDataType,
36 audioType: contentItem.audio.type,
37 videoType: contentItem.video.type,
38 audioPath: contentItem.audio.path,
39 videoPath: contentItem.video.path
40 };
41 runTest(config);
42 </script>
43 </body>
44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698