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

Side by Side Diff: chrome_frame/test/data/navigateurl_relative_host.html

Issue 218019: Initial import of the Chrome Frame codebase. Integration in chrome.gyp coming... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 2 months 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
OLDNEW
(Empty)
1 <html>
2 <!-- This page is meant to load inside the host browser like IE/FF -->
3 <head>
4 <script type="text/javascript" src="chrome_frame_tester_helpers.js">
5 </script>
6 <script type="text/javascript">
7 function onLoad() {
8 var chromeFrame = GetChromeFrame();
9 chromeFrame.onloaderror = OnNavigationFailed;
10 setTimeout(NavigateToURL, 100);
11 }
12
13 function NavigateToURL() {
14 var chromeFrame = GetChromeFrame();
15 chromeFrame.src = "navigateurl_basic_frame.html";
16 setTimeout(OnNavigationTimeout, 10000);
17 }
18
19 var navigation_complete = 0;
20
21 function OnNavigationFailed(msg) {
22 if (!navigation_complete) {
23 onFailure("NavigateURL", 1, 'ChromeFrame Navigation failed: ' + msg);
24 }
25 }
26
27 function OnNavigationTimeout() {
28 OnNavigationFailed('TIMEOUT');
29 }
30
31 function OnChromeFrameLoaded() {
32 navigation_success = 1;
33 onSuccess("NavigateURL", 1);
34 }
35
36 function GetChromeFrame() {
37 return window.document.ChromeFrame;
38 }
39 </script>
40 </head>
41
42 <body onload="onLoad();">
43 <div id="statusPanel" style="border: 1px solid red; width: 100%">
44 Test running....
45 </div>
46 <object id="ChromeFrame" width="500" height="500"
47 codebase="http://www.google.com"
48 classid="CLSID:E0A900DF-9611-4446-86BD-4B1D47E7DB2A">
49 <param name="onload" value="return OnChromeFrameLoaded();">
50 <embed id="ChromeFramePlugin" width="500" height="500"
51 name="ChromeFrame" onload="return OnChromeFrameLoaded();"
52 type="application/chromeframe">
53 </embed>
54 </OBJECT>
55 <br />
56 <br />
57
58 <p>Tests ChromeFrame Navigation</p>
59 </body>
60 </html>
OLDNEW
« no previous file with comments | « chrome_frame/test/data/navigateurl_basic_frame.html ('k') | chrome_frame/test/data/persistent_cookie_test_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698