Index: chrome_frame/test/data/simple_object_focus.html |
diff --git a/chrome_frame/test/data/simple_object_focus.html b/chrome_frame/test/data/simple_object_focus.html |
index 138ffa5040ff2bb6a207329785bdcf56b4e73b0c..d856dcb65fcec58938517ad475808e9f304a724c 100644 |
--- a/chrome_frame/test/data/simple_object_focus.html |
+++ b/chrome_frame/test/data/simple_object_focus.html |
@@ -82,14 +82,19 @@ function status(s) { |
<div id="status_panel" style="border: 1px solid red; width: 100%"> |
Test running.... |
</div> |
-<object id="ChromeFrame" width="300" height="60" tabindex="0" |
- codebase="http://www.google.com" |
- classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A"> |
- <param name="onload" value="return OnChromeFrameLoaded();"> |
- <embed width="300" height="60" name="ChromeFrame" |
- onload="return OnChromeFrameLoaded();" |
- type="application/chromeframe"> |
- </embed> |
-</object> |
+<span id="ChromeFrameSpan"></span> |
+<script type="text/javascript"> |
+insertControl( |
+ "ChromeFrameSpan", |
+'<object id="ChromeFrame" width="300" height="60" tabindex="0"' + |
+' codebase="http://www.google.com"' + |
+' classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A">' + |
+' <param name="onload" value="return OnChromeFrameLoaded();">' + |
+' <embed width="300" height="60" name="ChromeFrame"' + |
+' onload="return OnChromeFrameLoaded();"' + |
+' type="application/chromeframe">' + |
+' </embed>' + |
+'</object>'); |
+</script> |
</body> |
</html> |