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

Unified Diff: chrome_frame/test/data/window_close.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/window_close.html
diff --git a/chrome_frame/test/data/window_close.html b/chrome_frame/test/data/window_close.html
index e7f0718cf865b34bf354e6ad2c83f8f7d33fe8a0..08beea5ee0c46dcfc298545adcd6a1b00c2e6b9a 100644
--- a/chrome_frame/test/data/window_close.html
+++ b/chrome_frame/test/data/window_close.html
@@ -28,21 +28,26 @@
Test running....
</div>
- <object id="ChromeFrame" width="500" height="500"
- codebase="http://www.google.com"
- classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A">
- <param name="src" value="window_close_frame.html">
- <param name="onload" value="return OnChromeFrameLoaded(arguments[0]);">
- <param name="onloaderror" value="return OnNavigationFailed(arguments[0]);">
- <param name="onclose" value="return OnCloseWindow();">
- <embed id="ChromeFramePlugin" width="500" height="500" name="ChromeFrame"
- src="window_close_frame.html"
- type="application/chromeframe"
- onload="return OnChromeFrameLoaded(arguments[0]);"
- onloaderror="return OnNavigationFailed(arguments[0]);"
- onclose="return OnCloseWindow();">
- </embed>
- </object>
+ <span id="ChromeFrameSpan"></span>
+ <script type="text/javascript">
+insertControl(
+ "ChromeFrameSpan",
+' <object id="ChromeFrame" width="500" height="500"' +
+' codebase="http://www.google.com"' +
+' classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A">' +
+' <param name="src" value="window_close_frame.html">' +
+' <param name="onload" value="return OnChromeFrameLoaded(arguments[0]);">' +
+' <param name="onloaderror" value="return OnNavigationFailed(arguments[0]);">' +
+' <param name="onclose" value="return OnCloseWindow();">' +
+' <embed id="ChromeFramePlugin" width="500" height="500" name="ChromeFrame"' +
+' src="window_close_frame.html"' +
+' type="application/chromeframe"' +
+' onload="return OnChromeFrameLoaded(arguments[0]);"' +
+' onloaderror="return OnNavigationFailed(arguments[0]);"' +
+' onclose="return OnCloseWindow();">' +
+' </embed>' +
+' </object>');
+ </script>
<p>Tests window.close notification from ChromeFrame to its container</p>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698