Index: chrome_frame/test/data/src_property_host.html |
diff --git a/chrome_frame/test/data/src_property_host.html b/chrome_frame/test/data/src_property_host.html |
index ee25208a3d045f055871c1bb76b0f1e82da564a7..2e0b3b3d8b08de9cca4cf2c9b869509b55689e74 100644 |
--- a/chrome_frame/test/data/src_property_host.html |
+++ b/chrome_frame/test/data/src_property_host.html |
@@ -26,20 +26,24 @@ |
<div id="statusPanel" style="border: 1px solid red; width: 100%"> |
Test running.... |
</div> |
- |
- <object id="ChromeFrame" width="500" height="500" |
- codebase="http://www.google.com" |
- classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A"> |
- <param name="src" value="src_property_frame1.html"> |
- <param name="onload" value="return OnChromeFrameLoaded(arguments[0]);"> |
- <param name="onloaderror" value="return OnNavigationFailed(arguments[0]);"> |
- <embed id="ChromeFramePlugin" width="500" height="500" name="ChromeFrame" |
- src="src_property_frame1.html" |
- type="application/chromeframe" |
- onload="return OnChromeFrameLoaded(arguments[0]);" |
- onloaderror="return OnNavigationFailed(arguments[0]);"> |
- </embed> |
- </object> |
+ <span id="ChromeFrameSpan"></span> |
+ <script type="text/javascript"> |
+insertControl( |
+ "ChromeFrameSpan", |
+' <object id="ChromeFrame" width="500" height="500"' + |
+' codebase="http://www.google.com"' + |
+' classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A">' + |
+' <param name="src" value="src_property_frame1.html">' + |
+' <param name="onload" value="return OnChromeFrameLoaded(arguments[0]);">' + |
robertshield
2011/12/02 22:05:02
could you make these < 80 chars? maybe break the l
|
+' <param name="onloaderror" value="return OnNavigationFailed(arguments[0]);">' + |
+' <embed id="ChromeFramePlugin" width="500" height="500" name="ChromeFrame"' + |
+' src="src_property_frame1.html"' + |
+' type="application/chromeframe"' + |
+' onload="return OnChromeFrameLoaded(arguments[0]);"' + |
+' onloaderror="return OnNavigationFailed(arguments[0]);">' + |
+' </embed>' + |
+' </object>'); |
+ </script> |
<p>Tests ChromeFrame Navigation</p> |
</body> |
</html> |