tor-browser

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

encrypted-media-supported-by-feature-policy.tentative.html (550B)


      1 <!DOCTYPE html>
      2 <title>Test that encrypted-media is advertised in the feature list</title>
      3 <link rel="help" href="https://w3c.github.io/webappsec-feature-policy/#dom-featurepolicy-features">
      4 <link rel="help" href="https://github.com/w3c/encrypted-media/pull/432">
      5 <script src="/resources/testharness.js"></script>
      6 <script src="/resources/testharnessreport.js"></script>
      7 <script>
      8 test(() => {
      9    assert_in_array('encrypted-media', document.featurePolicy.features());
     10 }, 'document.featurePolicy.features should advertise encrypted-media.');
     11 </script>