Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4421)

Unified Diff: chrome_frame/test/data/initialize_hidden.html

Issue 8777002: Chrome Frame test fixes for Vista/IE7. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: whitespace fix Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome_frame/test/data/initialize_hidden.html
diff --git a/chrome_frame/test/data/initialize_hidden.html b/chrome_frame/test/data/initialize_hidden.html
index 4f353b9130d4bb770a5d76f39e9525e54c91860f..bcea0b17c5ee0659bcb9f4d05aba2eced31d13a4 100644
--- a/chrome_frame/test/data/initialize_hidden.html
+++ b/chrome_frame/test/data/initialize_hidden.html
@@ -85,40 +85,44 @@
</script>
</head>
<body>
- <div id="CFDiv1" style="visibility: hidden;">
- <object id="ChromeFrame1" width="300" height="80" tabindex="0"
- codebase="http://www.google.com"
- classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A">
- <param name="src" value="simple_object_focus_cf.html">
- <param name="onload" value="OnCF1Loaded();">
- <param name="onloaderror" value="OnNavigationFailed();">
- <param name="onmessage" value="OnCF1Message(arguments[0]);">
- <embed width="300" height="80" name="ChromeFrame1"
- type="application/chromeframe"
- src="simple_object_focus_cf.html"
- onload="OnCF1Loaded();"
- onloaderror="OnNavigationFailed();"
- onmessage="OnCF1Message(arguments[0]);">
- </embed>
- </object>
- </div>
- <div id="CFDiv2" style="display: none;">
- <object id="ChromeFrame2" width="300" height="80" tabindex="1"
- codebase="http://www.google.com"
- classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A">
- <param name="src" value="simple_object_focus_cf.html">
- <param name="onload" value="OnCF2Loaded();">
- <param name="onloaderror" value="OnNavigationFailed();">
- <param name="onmessage" value="OnCF2Message(arguments[0]);">
- <embed width="300" height="80" name="ChromeFrame2"
- type="application/chromeframe"
- src="simple_object_focus_cf.html"
- onload="OnCF2Loaded();"
- onloaderror="OnNavigationFailed();"
- onmessage="OnCF2Message(arguments[0]);">
- </embed>
- </object>
- </div>
+ <div id="CFDiv1" style="visibility: hidden;"></div>
+ <script type="text/javascript">
+insertControl("CFDiv1",
+' <object id="ChromeFrame1" width="300" height="80" tabindex="0"' +
+' codebase="http://www.google.com"' +
+' classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A">' +
+' <param name="src" value="simple_object_focus_cf.html">' +
+' <param name="onload" value="OnCF1Loaded();">' +
+' <param name="onloaderror" value="OnNavigationFailed();">' +
+' <param name="onmessage" value="OnCF1Message(arguments[0]);">' +
+' <embed width="300" height="80" name="ChromeFrame1"' +
+' type="application/chromeframe"' +
+' src="simple_object_focus_cf.html"' +
+' onload="OnCF1Loaded();"' +
+' onloaderror="OnNavigationFailed();"' +
+' onmessage="OnCF1Message(arguments[0]);">' +
+' </embed>' +
+' </object>');
+ </script>
+ <div id="CFDiv2" style="display: none;"></div>
+ <script type="text/javascript">
+insertControl("CFDiv2",
+' <object id="ChromeFrame2" width="300" height="80" tabindex="1"' +
+' codebase="http://www.google.com"' +
+' classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A">' +
+' <param name="src" value="simple_object_focus_cf.html">' +
+' <param name="onload" value="OnCF2Loaded();">' +
+' <param name="onloaderror" value="OnNavigationFailed();">' +
+' <param name="onmessage" value="OnCF2Message(arguments[0]);">' +
+' <embed width="300" height="80" name="ChromeFrame2"' +
+' type="application/chromeframe"' +
+' src="simple_object_focus_cf.html"' +
+' onload="OnCF2Loaded();"' +
+' onloaderror="OnNavigationFailed();"' +
+' onmessage="OnCF2Message(arguments[0]);">' +
+' </embed>' +
+' </object>');
+ </script>
<div id="statusPanel" style="border: 1px solid red; width: 100%">
Test running....
</div>

Powered by Google App Engine
This is Rietveld 408576698