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

Side by Side Diff: chrome_frame/test/data/src_property_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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/test/data/simple_object_focus.html ('k') | chrome_frame/test/data/version.html » ('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>src property test</title> 2 <head><title>src property 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("ChromeFrame_SrcTest", 1, "ChromeFrame Navigation failed"); 7 onFailure("ChromeFrame_SrcTest", 1, "ChromeFrame Navigation failed");
8 } 8 }
9 9
10 function OnChromeFrameLoaded(url) { 10 function OnChromeFrameLoaded(url) {
11 url = url.data; 11 url = url.data;
12 12
13 var chromeFrame = GetChromeFrame(); 13 var chromeFrame = GetChromeFrame();
14 var frame_url = chromeFrame.src; 14 var frame_url = chromeFrame.src;
15 15
16 appendStatus("Loaded URL: " + url + " Frame url: " + frame_url); 16 appendStatus("Loaded URL: " + url + " Frame url: " + frame_url);
17 } 17 }
18 18
19 function GetChromeFrame() { 19 function GetChromeFrame() {
20 return window.document.ChromeFrame; 20 return window.document.ChromeFrame;
21 } 21 }
22 22
23 </script> 23 </script>
24 </head> 24 </head>
25 <body> 25 <body>
26 <div id="statusPanel" style="border: 1px solid red; width: 100%"> 26 <div id="statusPanel" style="border: 1px solid red; width: 100%">
27 Test running.... 27 Test running....
28 </div> 28 </div>
29 29 <span id="ChromeFrameSpan"></span>
30 <object id="ChromeFrame" width="500" height="500" 30 <script type="text/javascript">
31 codebase="http://www.google.com" 31 insertControl(
32 classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A"> 32 "ChromeFrameSpan",
33 <param name="src" value="src_property_frame1.html"> 33 { "src": "src_property_frame1.html",
34 <param name="onload" value="return OnChromeFrameLoaded(arguments[0]);" > 34 "eventHandlers": {
35 <param name="onloaderror" value="return OnNavigationFailed(arguments[0 ]);"> 35 "onload": "return OnChromeFrameLoaded();",
36 <embed id="ChromeFramePlugin" width="500" height="500" name="ChromeFra me" 36 "onloaderror": "return OnNavigationFailed(arguments[0]);"
37 src="src_property_frame1.html" 37 }
38 type="application/chromeframe" 38 });
39 onload="return OnChromeFrameLoaded(arguments[0]);" 39 </script>
40 onloaderror="return OnNavigationFailed(arguments[0]);">
41 </embed>
42 </object>
43 <p>Tests ChromeFrame Navigation</p> 40 <p>Tests ChromeFrame Navigation</p>
44 </body> 41 </body>
45 </html> 42 </html>
OLDNEW
« no previous file with comments | « chrome_frame/test/data/simple_object_focus.html ('k') | chrome_frame/test/data/version.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698