| <html> |
| <head> |
| <title>Multiple chrome frame instances test</title> |
| <script type="text/javascript" src="chrome_frame_tester_helpers.js"></script> |
| <script type="text/javascript"> |
| function createSecondChromeFrameInstance() { |
| var dummy = document.createElement('span'); |
| dummy.id = "dummy"; |
| document.body.appendChild(dummy); |
| insertControl("dummy", |
| { "src": "multiple_cf_instances_test.html", |
| "objectAttributes": { "id": null, "border": "1", "width": "100%", |
| "height": "200px", "codebase": null }, |
| "embedAttributes": {"id": "CFPlugin", "name": "ChromeFrame" } |
| }); |
| } |
| |
| function onLoad() { |
| createSecondChromeFrameInstance(); |
| } |
| </script> |
| </head> |
| |
| <body onload="onLoad();"> |
| <span id="ChromeFrameSpan"></span> |
| <script type="text/javascript"> |
| insertControl("ChromeFrameSpan", |
| { "id": "ChromeFrame1", |
| "src": "about:blank", |
| "objectAttributes": { "codebase": null }, |
| "embedAttributes": {"id": "ChromeFramePlugin", "name": "ChromeFrame"} |
| }); |
| </script> |
| ChromeFrame multiple widget instances test page. This testcase verifies |
| whether multiple chrome frame widget instances can be created on the |
| same page. |
| </body> |
| </html> |