Index: chrome_frame/test/data/postmessage_basic_host.html |
diff --git a/chrome_frame/test/data/postmessage_basic_host.html b/chrome_frame/test/data/postmessage_basic_host.html |
index e5ecef93d7ec4bb5c2927b6d889ce487d595bd74..aaa3e99034f64c6f396da838656c95e54df5685e 100644 |
--- a/chrome_frame/test/data/postmessage_basic_host.html |
+++ b/chrome_frame/test/data/postmessage_basic_host.html |
@@ -41,22 +41,27 @@ |
</head> |
<body> |
- <object id="ChromeFrame" width="500" height ="300" |
- codebase="http://www.google.com" |
- classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A"> |
- <param name="src" value="postmessage_basic_frame.html"> |
- <param name="onload" value="onChromeFrameLoaded();"> |
- <param name="onloaderror" value="onNavigationFailed();"> |
- <param name="onmessage" value="onChromeFrameMessage(arguments[0]);"> |
- <embed id="ChromeFramePlugin" name="ChromeFrame" |
- width="500" height="500" |
- src="postmessage_basic_frame.html" |
- type="application/chromeframe" |
- onload="onChromeFrameLoaded();" |
- onloaderror="onNavigationFailed();" |
- onmessage="onChromeFrameMessage(arguments[0]);"> |
- </embed> |
- </object> |
+ <span id="ChromeFrameSpan"></span> |
+ <script type="text/javascript"> |
+insertControl( |
+ "ChromeFrameSpan", |
+' <object id="ChromeFrame" width="500" height ="300"' + |
+' codebase="http://www.google.com"' + |
+' classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A">' + |
+' <param name="src" value="postmessage_basic_frame.html">' + |
+' <param name="onload" value="onChromeFrameLoaded();">' + |
+' <param name="onloaderror" value="onNavigationFailed();">' + |
+' <param name="onmessage" value="onChromeFrameMessage(arguments[0]);">' + |
+' <embed id="ChromeFramePlugin" name="ChromeFrame"' + |
+' width="500" height="500"' + |
+' src="postmessage_basic_frame.html"' + |
+' type="application/chromeframe"' + |
+' onload="onChromeFrameLoaded();"' + |
+' onloaderror="onNavigationFailed();"' + |
+' onmessage="onChromeFrameMessage(arguments[0]);">' + |
+' </embed>' + |
+' </object>'); |
+ </script> |
<br> |
<br> |
<p>Test for PostMessage from the host browser to ChromeFrame and back</p> |