| Index: chrome_frame/test/data/multiple_cf_instances_main.html
|
| diff --git a/chrome_frame/test/data/multiple_cf_instances_main.html b/chrome_frame/test/data/multiple_cf_instances_main.html
|
| index da6586d7c294526ec7da0840e930229159b93544..d4a7974d500ffaeadd1aee4d940ba827582920f6 100644
|
| --- a/chrome_frame/test/data/multiple_cf_instances_main.html
|
| +++ b/chrome_frame/test/data/multiple_cf_instances_main.html
|
| @@ -1,18 +1,21 @@
|
| <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);
|
| - dummy.innerHTML = '<object border="1" width="100%" height ="200px"' +
|
| + insertControl("dummy",
|
| + '<object border="1" width="100%" height ="200px"' +
|
| 'classid="clsid:E0A900DF-9611-4446-86BD-4B1D47E7DB2A">' +
|
| '<param name="src"' +
|
| 'value="multiple_cf_instances_test.html">' +
|
| '<embed id="CFPlugin" width="500" height="500"' +
|
| 'name="ChromeFrame" type="application/chromeframe"' +
|
| 'src="multiple_cf_instances_test.html">' +
|
| - '</embed></object>';
|
| + '</embed></object>');
|
| }
|
|
|
| function onLoad() {
|
| @@ -22,14 +25,18 @@
|
| </head>
|
|
|
| <body onload="onLoad();">
|
| - <object id="ChromeFrame1" width="500" height="500"
|
| - classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A">
|
| - <param name="src" value="about:blank">
|
| - <embed id="ChromeFramePlugin" width="500" height="500"
|
| - name="ChromeFrame" type="application/chromeframe"
|
| - src="about:blank">
|
| - </embed>
|
| - </object>
|
| + <span id="ChromeFrameSpan"></span>
|
| + <script type="text/javascript">
|
| +insertControl("ChromeFrameSpan",
|
| +' <object id="ChromeFrame1" width="500" height="500"' +
|
| +' classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A">' +
|
| +' <param name="src" value="about:blank">' +
|
| +' <embed id="ChromeFramePlugin" width="500" height="500"' +
|
| +' name="ChromeFrame" type="application/chromeframe"' +
|
| +' src="about:blank">' +
|
| +' </embed>' +
|
| +' </object>');
|
| + </script>
|
| ChromeFrame multiple widget instances test page. This testcase verifies
|
| whether multiple chrome frame widget instances can be created on the
|
| same page.
|
|
|