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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/encrypted-media/drm-mp4-playback-temporary-events.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 <meta name="timeout" content="long">
6 <title>Encrypted Media Extensions: Successful playback, temporary session wi th DRM, mp4, validating events</title>
7 <link rel="help" href="https://w3c.github.io/encrypted-media/">
8
9 <!-- Web Platform Test Harness scripts -->
10 <script src=/resources/testharness.js></script>
11 <script src=/resources/testharnessreport.js></script>
12
13 <!-- Helper scripts for Encrypted Media Extensions tests -->
14 <script src=/encrypted-media/util/utils.js></script>
15 <script src=/encrypted-media/util/utf8.js></script>
16 <script src=/encrypted-media/util/fetch.js></script>
17 <script src=/encrypted-media/util/testmediasource.js></script>
18
19 <!-- Content metadata -->
20 <script src=/encrypted-media/content/content-metadata.js></script>
21
22 <!-- Message handler for DRM servers -->
23 <script src=/encrypted-media/util/drm-messagehandler.js></script>
24
25 <!-- The script for this specific test -->
26 <script src=/encrypted-media/scripts/playback-temporary-events.js></script>
27
28 </head>
29 <body>
30 <div id='log'></div>
31
32 <div id='video'>
33 <video id="videoelement" width="200px"></video>
34 </div>
35
36 <script>
37 var keysystem = getSupportedKeySystem(),
38 contentitem = content['mp4-basic'],
39 handler = new MessageHandler( keysystem, contentitem ),
40 config = { video: document.getElementById('videoelemen t'),
41 keysystem: keysystem,
42 messagehandler: handler.messagehandler,
43 audioPath: contentitem.audio.path,
44 videoPath: contentitem.video.path,
45 audioType: contentitem.audio.type,
46 videoType: contentitem.video.type,
47 initDataType: contentitem.initDataType
48 };
49
50 runTest(config);
51 </script>
52 </body>
53 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698