tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

drm-events-session-closed-event.https.html (1275B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <meta charset=utf-8>
      5    <title>Encrypted Media Extensions - Test MediaKeySession closed event 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 
     16    <!-- Content metadata -->
     17    <script src=/encrypted-media/content/content-metadata.js></script>
     18 
     19    <!-- The script for this specific test -->
     20    <script src=/encrypted-media/scripts/events-session-closed-event.js></script>
     21 
     22  </head>
     23  <body>
     24    <div id='log'></div>
     25 
     26    <script>
     27        var keysystem = getSupportedKeySystem(),
     28            contentItem = content['mp4-basic'],
     29            config = {
     30                keysystem: keysystem,
     31                content: contentItem,
     32                initDataType: contentItem.initDataType,
     33                audioType: contentItem.audio.type,
     34                videoType: contentItem.video.type
     35            };
     36        runTest(config);
     37    </script>
     38  </body>
     39 </html>