OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <title>Multiple chrome frame instances test</title> | |
4 <script type="text/javascript" src="chrome_frame_tester_helpers.js"></script> | |
5 <script type="text/javascript"> | |
6 function createSecondChromeFrameInstance() { | |
7 var dummy = document.createElement('span'); | |
8 dummy.id = "dummy"; | |
9 document.body.appendChild(dummy); | |
10 insertControl("dummy", | |
11 { "src": "multiple_cf_instances_test.html", | |
12 "objectAttributes": { "id": null, "border": "1", "width": "100%", | |
13 "height": "200px", "codebase": null }, | |
14 "embedAttributes": {"id": "CFPlugin", "name": "ChromeFrame" } | |
15 }); | |
16 } | |
17 | |
18 function onLoad() { | |
19 createSecondChromeFrameInstance(); | |
20 } | |
21 </script> | |
22 </head> | |
23 | |
24 <body onload="onLoad();"> | |
25 <span id="ChromeFrameSpan"></span> | |
26 <script type="text/javascript"> | |
27 insertControl("ChromeFrameSpan", | |
28 { "id": "ChromeFrame1", | |
29 "src": "about:blank", | |
30 "objectAttributes": { "codebase": null }, | |
31 "embedAttributes": {"id": "ChromeFramePlugin", "name": "ChromeFrame"} | |
32 }); | |
33 </script> | |
34 ChromeFrame multiple widget instances test page. This testcase verifies | |
35 whether multiple chrome frame widget instances can be created on the | |
36 same page. | |
37 </body> | |
38 </html> | |
OLD | NEW |