Index: chrome_frame/test/data/chrome_frame_resize.html |
diff --git a/chrome_frame/test/data/chrome_frame_resize.html b/chrome_frame/test/data/chrome_frame_resize.html |
index afba53bc267e45a6391ad0a90f0c7a111068fcba..d8ab85fe03e5cac6d0a73ffb646f87e9457fe134 100644 |
--- a/chrome_frame/test/data/chrome_frame_resize.html |
+++ b/chrome_frame/test/data/chrome_frame_resize.html |
@@ -117,16 +117,20 @@ function DebugResizeChromeFrame(delta) { |
Test running.... |
</div> |
-<object id="ChromeFrame" codebase="http://www.google.com" |
- classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A" |
- style="border: 1px solid blue"> |
- <param name="onload" value="return OnNavigationSucceeded();" /> |
- <embed id="ChromeFramePlugin" name="ChromeFrame" |
- onload="return OnNavigationSucceeded();" |
- type="application/chromeframe" |
- style="border: 1px solid green"> |
- </embed> |
-</object> |
+<span id="ChromeFrameSpan"></span> |
+<script type="text/javascript"> |
+insertControl("ChromeFrameSpan", |
+'<object id="ChromeFrame" codebase="http://www.google.com"' + |
+' classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A"' + |
+' style="border: 1px solid blue">' + |
+' <param name="onload" value="return OnNavigationSucceeded();" />' + |
+' <embed id="ChromeFramePlugin" name="ChromeFrame"' + |
+' onload="return OnNavigationSucceeded();"' + |
+' type="application/chromeframe"' + |
+' style="border: 1px solid green">' + |
+' </embed>' + |
+'</object>'); |
+</script> |
<br /> |
<br /> |