3 <script type="text/javascript"
4 src="chrome_frame_tester_helpers.js"></script>
5 <script type="text/javascript"
6 src="CFInstall.js"></script>
9 <div id="statusPanel" style="border: 1px solid red; width: 100%">
13 <script type="text/javascript">
14 var testName = 'CFInstallBasic';
17 // Testing over-rides for GCF detection code.
18 CFInstall._force = true;
19 CFInstall._forceValue = false;
22 // TODO(slightlyoff): popup window tests?
26 if (document.body.firstChild.tagName != 'IFRAME') {
27 onFailure(testName, 1, 'prompt placed incorrectly');
31 onSuccess(testName, 1);
34 onFailure(testName, 1,
35 'CFInstall basic test failed with error: '+e);
39 <p>Tests CFInstall basic prompt functionality</p>