tor-browser

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

encrypted-media-default-feature-policy.https.sub.html (636B)


      1 <!DOCTYPE html>
      2 <body>
      3  <script src=/resources/testharness.js></script>
      4  <script src=/resources/testharnessreport.js></script>
      5  <script src=/feature-policy/resources/featurepolicy.js></script>
      6  <script src=util/utils.js></script>
      7  <script>
      8  'use strict';
      9  run_all_fp_tests_allow_self(
     10      'https://{{domains[www]}}:{{ports[https][0]}}',
     11      'encrypted-media',
     12      'SecurityError',
     13      function() {
     14        return navigator.requestMediaKeySystemAccess('org.w3.clearkey', [{
     15            sessionTypes: [ 'temporary' ],
     16            audioCapabilities: getPossibleAudioCapabilities()
     17        }]);
     18      });
     19  </script>
     20 </body>