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

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <html>
     2 <head>
     3 <script>
     4 "use strict";
     6 function showNotification() {
     7   var options = {
     8       dir: undefined,
     9       lang: undefined,
    10       body: "Test body",
    11       tag: "Test tag",
    12       icon: undefined,
    13   };
    14   return new Notification("Test title", options);
    15 }
    16 </script>
    17 </head>
    18 <body>
    19 <form id="notificationForm" onsubmit="showNotification();">
    20   <input type="submit" value="Show notification" id="submit"/>
    21 </form>
    22 </body>
    23 </html>

mercurial