1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6 <!-- This page will accept some json as the uri query and pass it to InstallTrigger.install -->
9 <title>InstallTrigger tests
</title>
10 <script type=
"text/javascript">
11 function installCallback(url
, status
) {
12 document
.getElementById("status").textContent
= status
;
15 function startInstall() {
16 var text
= decodeURIComponent(document
.location
.search
.substring(1));
17 var triggers
= JSON
.parse(text
);
19 document
.getElementById("return").textContent
= InstallTrigger
.install(triggers
, installCallback
);
22 document
.getElementById("return").textContent
= "exception";
27 <body onload=
"startInstall()">
28 <p>InstallTrigger tests
</p>