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

Side by Side Diff: chrome_frame/test/data/CFInstance_default_ctor_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, 3 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 loaded inside the host browser (IE, FF, etc.) -->
3 <head>
4 <script type="text/javascript"
5 src="chrome_frame_tester_helpers.js"></script>
6 <script type="text/javascript"
7 src="CFInstance.js"></script>
8 </head>
9
10 <body>
11 <div id="statusPanel" style="border: 1px solid red; width: 100%">
12 Test running....
13 </div>
14
15 <div id="parent">
16 <div id="prev">before</div><div id="toBeReplaced">
17 fallback content goes here
18 </div><div id="after">after</div>
19 </div>
20 <script type="text/javascript">
21 var testName = "CFInstanceDefaultCtor";
22 (function(){
23 try{
24 var cf = new CFInstance();
25 cf.src = "CFInstance_basic_frame.html";
26 var node = document.getElementById("toBeReplaced");
27 node.parentNode.replaceChild(cf, node);
28 var timer = setTimeout(function() {
29 onFailure(testName, 1, "CFInstance navigation timeout");
30 }, 15000);
31 cf.listen("load", function() {
32 clearTimeout(timer);
33 onSuccess(testName, 1);
34 });
35 cf.src = "CFInstance_basic_frame.html";
36 } catch (e) {
37 onFailure(testName, 1,
38 "CFInstance constructor failed with error: "+e);
39 }
40 })();
41 </script>
42 <p>Tests Chrome Frame constructor without arguments</p>
43 </body>
44 </html>
45
OLDNEW
« no previous file with comments | « chrome_frame/test/data/CFInstance_basic_host.html ('k') | chrome_frame/test/data/CFInstance_delay_host.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698