tor-browser

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

PresentationRequest_mixedcontent_multiple.https.html (787B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>Creating a PresentationRequest with a set of URLs containing an a priori unauthenticated URL in an HTTPS context throws a SecurityError exception.</title>
      4 <link rel="author" title="Francois Daoust" href="https://www.w3.org/People/#fd">
      5 <link rel="help" href="http://w3c.github.io/presentation-api/#constructing-a-presentationrequest">
      6 <script src="/resources/testharness.js"></script>
      7 <script src="/resources/testharnessreport.js"></script>
      8 
      9 <script>
     10    function createPresentation() {
     11        var request = new PresentationRequest([
     12          'presentation.html',
     13          'http://example.org/presentation.html'
     14        ]);
     15    };
     16 
     17    test(function () {
     18        assert_throws_dom('SecurityError', createPresentation);
     19    });
     20 </script>