toolkit/mozapps/extensions/test/xpinstall/installtrigger_frame.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     2           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     4 <html>
     6 <!-- This page will accept some json as the uri query and pass it to
     7      an inner iframe, which will run InstallTrigger.install -->
     9 <head>
    10 <title>InstallTrigger frame tests</title>
    11 <script type="text/javascript">
    12 function prepChild() {
    13   // Pass our parameters over to the child
    14   var child = window.frames[0];
    15   var params = document.location.search.substr(1);
    16   child.location = "installtrigger.html?" + params;
    17 }
    18 </script>
    19 </head>
    20 <body onload="prepChild()">
    22 <iframe src="about:blank">
    23 </iframe>
    25 <p>InstallTrigger tests</p>
    26 <p id="return"></p>
    27 <p id="status"></p>
    28 </body>
    29 </html>

mercurial