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

Unified Diff: chrome_frame/test/data/postmessage_basic_host.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
Index: chrome_frame/test/data/postmessage_basic_host.html
diff --git a/chrome_frame/test/data/postmessage_basic_host.html b/chrome_frame/test/data/postmessage_basic_host.html
index e5ecef93d7ec4bb5c2927b6d889ce487d595bd74..22b6f2ccfffbf5950ff532011dd4f1f2c756c4fc 100644
--- a/chrome_frame/test/data/postmessage_basic_host.html
+++ b/chrome_frame/test/data/postmessage_basic_host.html
@@ -41,22 +41,17 @@
</head>
<body>
- <object id="ChromeFrame" width="500" height ="300"
- codebase="http://www.google.com"
- classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A">
- <param name="src" value="postmessage_basic_frame.html">
- <param name="onload" value="onChromeFrameLoaded();">
- <param name="onloaderror" value="onNavigationFailed();">
- <param name="onmessage" value="onChromeFrameMessage(arguments[0]);">
- <embed id="ChromeFramePlugin" name="ChromeFrame"
- width="500" height="500"
- src="postmessage_basic_frame.html"
- type="application/chromeframe"
- onload="onChromeFrameLoaded();"
- onloaderror="onNavigationFailed();"
- onmessage="onChromeFrameMessage(arguments[0]);">
- </embed>
- </object>
+ <span id="ChromeFrameSpan"></span>
+ <script type="text/javascript">
+insertControl(
+ "ChromeFrameSpan",
+ { "src": "postmessage_basic_frame.html",
+ "eventHandlers": { "onload": "onChromeFrameLoaded();",
+ "onloaderror": "onNavigationFailed();",
+ "onmessage": "onChromeFrameMessage(arguments[0]);" },
+ "objectAttributes": { "height": "300" }
+ });
+ </script>
<br>
<br>
<p>Test for PostMessage from the host browser to ChromeFrame and back</p>
« no previous file with comments | « chrome_frame/test/data/navigateurl_relative_host.html ('k') | chrome_frame/test/data/privileged_apis_host.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698