summaryrefslogtreecommitdiffstats
path: root/browser/components/protocolhandler/test/browser/browser_registerProtocolHandler_notification.html
blob: 6ffacd2e8593f2f738794b7a3e910c3264bc2285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
  <head>
    <title>Protocol registrar page</title>
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
    <meta content="utf-8" http-equiv="encoding">
  </head>
  <body>
    <script type="text/javascript">
      navigator.registerProtocolHandler("web+testprotocol",
          "https://example.com/foobar?uri=%s",
          "Test Protocol");
    </script>
  </body>
</html>