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