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

Side by Side 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: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/test/data/version.html ('k') | chrome_frame/test/test_with_web_server.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head><title>window.close test</title> 2 <head><title>window.close test</title>
3 <script type="text/javascript" src="chrome_frame_tester_helpers.js"> 3 <script type="text/javascript" src="chrome_frame_tester_helpers.js">
4 </script> 4 </script>
5 <script type="text/javascript"> 5 <script type="text/javascript">
6 function OnNavigationFailed() { 6 function OnNavigationFailed() {
7 onFailure("WindowCloseTest", 1, "ChromeFrame Navigation failed"); 7 onFailure("WindowCloseTest", 1, "ChromeFrame Navigation failed");
8 } 8 }
9 9
10 function OnChromeFrameLoaded(url) { 10 function OnChromeFrameLoaded(url) {
(...skipping 10 matching lines...) Expand all
21 return onSuccess("WindowCloseTest", 1); 21 return onSuccess("WindowCloseTest", 1);
22 } 22 }
23 23
24 </script> 24 </script>
25 </head> 25 </head>
26 <body> 26 <body>
27 <div id="statusPanel" style="border: 1px solid red; width: 100%"> 27 <div id="statusPanel" style="border: 1px solid red; width: 100%">
28 Test running.... 28 Test running....
29 </div> 29 </div>
30 30
31 <object id="ChromeFrame" width="500" height="500" 31 <span id="ChromeFrameSpan"></span>
32 codebase="http://www.google.com" 32 <script type="text/javascript">
33 classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A"> 33 insertControl(
34 <param name="src" value="window_close_frame.html"> 34 "ChromeFrameSpan",
35 <param name="onload" value="return OnChromeFrameLoaded(arguments[0]);" > 35 { "src": "window_close_frame.html",
36 <param name="onloaderror" value="return OnNavigationFailed(arguments[0 ]);"> 36 "eventHandlers": {
37 <param name="onclose" value="return OnCloseWindow();"> 37 "onload": "return OnChromeFrameLoaded(arguments[0]);",
38 <embed id="ChromeFramePlugin" width="500" height="500" name="ChromeFra me" 38 "onloaderror": "return OnNavigationFailed(arguments[0]);",
39 src="window_close_frame.html" 39 "onclose": "return OnCloseWindow();"
40 type="application/chromeframe" 40 }
41 onload="return OnChromeFrameLoaded(arguments[0]);" 41 });
42 onloaderror="return OnNavigationFailed(arguments[0]);" 42 </script>
43 onclose="return OnCloseWindow();">
44 </embed>
45 </object>
46 <p>Tests window.close notification from ChromeFrame to its container</p> 43 <p>Tests window.close notification from ChromeFrame to its container</p>
47 </body> 44 </body>
48 </html> 45 </html>
OLDNEW
« no previous file with comments | « chrome_frame/test/data/version.html ('k') | chrome_frame/test/test_with_web_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698