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

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: ToT sync 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
« no previous file with comments | « chrome_frame/test/data/event_listener.html ('k') | chrome_frame/test/data/multiple_cf_instances_main.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4c0c253e382de30d852b66a123c3ffa540c06d93 100644
--- a/chrome_frame/test/data/initialize_hidden.html
+++ b/chrome_frame/test/data/initialize_hidden.html
@@ -85,40 +85,34 @@
</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",
+ { "id": "ChromeFrame1",
+ "width": "300",
+ "height": "80",
+ "src": "simple_object_focus_cf.html",
+ "eventHandlers": { "onload": "OnCF1Loaded();",
+ "onloaderror": "OnNavigationFailed();",
+ "onmessage": "OnCF1Message(arguments[0]);" },
+ "objectAttributes": { "tabindex": "0" },
+ "embedAttributes": {"id": null}
+ });
+ </script>
+ <div id="CFDiv2" style="display: none;"></div>
+ <script type="text/javascript">
+insertControl("CFDiv2",
+ { "id": "ChromeFrame2",
+ "width": "300",
+ "height": "80",
+ "src": "simple_object_focus_cf.html",
+ "eventHandlers": { "onload": "OnCF2Loaded();",
+ "onloaderror": "OnNavigationFailed();",
+ "onmessage": "OnCF2Message(arguments[0]);" },
+ "objectAttributes": { "tabindex": "1" },
+ "embedAttributes": { "id": null}
+ });
+ </script>
<div id="statusPanel" style="border: 1px solid red; width: 100%">
Test running....
</div>
« no previous file with comments | « chrome_frame/test/data/event_listener.html ('k') | chrome_frame/test/data/multiple_cf_instances_main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698