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

Side by Side Diff: chrome_frame/test/data/CFInstance_rpc_internal_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 <!DOCTYPE html>
2
3 <html>
4 <!-- This page is meant to loaded inside the host browser (IE, FF, etc.) -->
5 <head>
6 <script type="text/javascript"
7 src="chrome_frame_tester_helpers.js"></script>
8 <script type="text/javascript"
9 src="CFInstance.js"></script>
10 </head>
11
12 <body>
13 <div id="statusPanel" style="border: 1px solid red; width: 100%">
14 Test running....
15 </div>
16
17 <div id="parent">
18 <div id="prev">before</div><div id="toBeReplaced">
19 fallback content goes here
20 </div><div id="after">after</div>
21 </div>
22 <script type="text/javascript">
23 var testName = "CFInstanceRPCInternal";
24 (function() {
25 try {
26 var cf = new CFInstance({
27 node: "toBeReplaced",
28 src: "CFInstance_rpc_internal_frame.html"
29 });
30
31
32 cf.rpc.expose("callback", function(arg) {
33 onSuccess(testName, 1);
34 });
35 cf.rpc.init();
36 } catch (e) {
37 onFailure(testName, 1,
38 "CFInstance constructor failed with error: " + e);
39 }
40 })();
41 </script>
42 <p>Tests CFInstance event handling on iframes</p>
43 </body>
44 </html>
45
OLDNEW
« no previous file with comments | « chrome_frame/test/data/CFInstance_rpc_internal_frame.html ('k') | chrome_frame/test/data/CFInstance_singleton_frame.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698