browser/base/content/test/general/browser_registerProtocolHandler_notification.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/base/content/test/general/browser_registerProtocolHandler_notification.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
     1.5 +<html>
     1.6 +  <head>
     1.7 +    <title>Protocol registrar page</title>
     1.8 +    <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
     1.9 +    <meta content="utf-8" http-equiv="encoding">
    1.10 +  </head>
    1.11 +  <body>
    1.12 +    <script type="text/javascript">
    1.13 +      navigator.registerProtocolHandler("testprotocol",
    1.14 +          "https://example.com/foobar?uri=%s",
    1.15 +          "Test Protocol");
    1.16 +    </script>
    1.17 +  </body>
    1.18 +</html>

mercurial