protocol_handlers_entry.html (598B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"> 5 <title>Protocol Handling Web Platform Test - Pass</title> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 8 <script> 9 setup({ single_test: true }); 10 const urlParams = new URLSearchParams(window.location.search); 11 assert_equals(urlParams.get('value'), "web+testing://test-url/"); 12 done(); 13 </script> 14 </head> 15 <body> 16 <h1>Protocol Handling Page</h1> 17 <p>This test validates that the app was launched with the web+testing://test-url/ URL.</p> 18 </body> 19 </html>