blob: f61dfc94dfa36a26e742d74eed5486356b375636 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<html>
<head>
<title>install flow test</title>
<script type="text/javascript"
src="chrome_frame_tester_helpers.js"></script>
<script type="text/javascript"
src="CFInstall.js"></script>
</head>
<body>
<div id="statusPanel" style="border: 1px solid red; width: 100%">
Test running....
</div>
<script type="text/javascript">
var testName = 'FullTab_InstallFlowTest';
(function(){
try{
if (CFInstall.isAvailable()) {
onFailure(testName, 1, 'plugin registered ahead of install test');
} else {
appendStatus("Waiting for install to complete...");
var timer = setInterval(function() {
if (CFInstall.isAvailable()) {
clearInterval(timer);
appendStatus("Installed! Redirecting...");
location.href = "/files/install_flow_test_finish.html";
}
}, 1000);
}
} catch (e) {
onFailure(testName, 1,
'install flow test failed with error: '+e);
}
})();
</script>
</body>
</html>
|