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

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: 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/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..aaa3e99034f64c6f396da838656c95e54df5685e 100644
--- a/chrome_frame/test/data/postmessage_basic_host.html
+++ b/chrome_frame/test/data/postmessage_basic_host.html
@@ -41,22 +41,27 @@
</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",
+' <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>');
+ </script>
<br>
<br>
<p>Test for PostMessage from the host browser to ChromeFrame and back</p>

Powered by Google App Engine
This is Rietveld 408576698