tor-browser

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

protocol-handler-fragment-nosw-manual.https.html (901B)


      1 <!doctype html>
      2 <!-- Use a non-UTF-8 encoding to see how the handler URL is parsed -->
      3 <meta charset=windows-1254>
      4 <meta name=timeout content=long>
      5 <title>registerProtocolHandler() and a handler with %s in the fragment (does not use a service worker)</title>
      6 <script src=/resources/testharness.js></script>
      7 <script src=/resources/testharnessreport.js></script>
      8 <script src=/service-workers/service-worker/resources/test-helpers.sub.js></script>
      9 <script>
     10 // Configure expectations for individual test
     11 window.type = "fragment";
     12 window.noSW = true;
     13 </script>
     14 <script src=resources/handler-tools.js></script>
     15 <ol>
     16 <li><p>First, register the handler: <button onclick='register()'>Register</button>.
     17 <li><p>Then, run the test: <button onclick='runTest()'>Run</button>.
     18 <li><p>Or, run the test with U+0000 NULL: <button onclick='runTest({ includeNull: true })'>Run NULL</button>.
     19 </ol>
     20 <div id=log></div>