Bug 1804850 [wpt PR 37422] - EME: remove util/fetch.js and simplify utf8.js, a=testonly
[gecko.git] / testing / web-platform / tests / encrypted-media / clearkey-mp4-syntax-mediakeysystemaccess.https.html
blob1991f588fe06c5eab65c4d17701caf9e465f0060
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset=utf-8>
5 <title>Encrypted Media Extensions - Test navigator.requestmediakeysystemaccess exception and MediaKeySystemAccess attribute syntax for Clear Key, mp4</title>
6 <link rel="help" href="https://w3c.github.io/encrypted-media/">
8 <!-- Web Platform Test Harness scripts -->
9 <script src=/resources/testharness.js></script>
10 <script src=/resources/testharnessreport.js></script>
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>
16 <!-- Content metadata -->
17 <script src=/encrypted-media/content/content-metadata.js></script>
19 <!-- The script for this specific test -->
20 <script src=/encrypted-media/scripts/syntax-mediakeysystemaccess.js></script>
22 </head>
23 <body>
24 <div id='log'></div>
25 <div id='video'>
26 <video id="videoelement" width="200px"></video>
27 </div>
28 <script>
29 var contentItem = content['mp4-basic'],
30 config = {
31 keysystem: 'org.w3.clearkey',
32 content: contentItem,
33 initDataType: 'keyids',
34 initData: getInitData(contentItem, 'keyids'),
35 audioType: contentItem.audio.type,
36 videoType: contentItem.video.type
38 runTest(config);
39 </script>
40 </body>
41 </html>