dom/browser-element/mochitest/file_browserElement_AppFramePermission.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <html>
     2 <head>
     3 <script type="text/javascript">
     4   addEventListener('load', function(e) {
     5     navigator.mozApps.getSelf().onsuccess = function onGetSelf() {
     6       if (this.result) {
     7         alert('app');
     8       } else {
     9         alert('notapp');
    10       }
    11     };
    12   });
    13 </script>
    14 </head>
    15 <body>
    16 </body>
    17 </html>

mercurial