protocol-handler-path.https.html (873B)
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 path</title> 6 <script src=/resources/testharness.js></script> 7 <script src=/resources/testharnessreport.js></script> 8 <script src="/resources/testdriver.js"></script> 9 <script src="/resources/testdriver-vendor.js"></script> 10 <script src=/service-workers/service-worker/resources/test-helpers.sub.js></script> 11 <script> 12 'use strict'; 13 promise_setup(async () => { 14 await test_driver.set_rph_registration_mode("autoAccept"); 15 await test_driver.bless('handler registration'); 16 register(); 17 }); 18 // Configure expectations for individual test 19 window.type = "path"; 20 window.noSW = false; 21 </script> 22 <script src=resources/handler-tools.js></script> 23 <script> 24 runTest(); 25 </script>