Index: chrome_frame/test/data/CFInstance_rpc_frame.html |
=================================================================== |
--- chrome_frame/test/data/CFInstance_rpc_frame.html (revision 0) |
+++ chrome_frame/test/data/CFInstance_rpc_frame.html (revision 0) |
@@ -0,0 +1,27 @@ |
+<!DOCTYPE html> |
+ |
+<html> |
+<!-- This page is meant to load inside ChromeFrame --> |
+ <head> |
+ <script type="text/javascript" |
+ src="chrome_frame_tester_helpers.js"></script> |
+ <script type="text/javascript" |
+ src="CFInstance.js"></script> |
+ <script> |
+ var cf = CFInstance; |
+ cf.rpc.expose("rpcHandler", function(arg) { |
+ cf.rpc.callRemote("handleCallback", ["hola!"]); |
+ }); |
+ cf.rpc.init(); |
+ </script> |
+ </head> |
+ |
+ <body> |
+ <div id="statusPanel" style="border: 1px solid red; width: 100%"> |
+ Test running.... |
+ </div> |
+ |
+ <p>ChromeFrame + CFInstance PostMessage Test |
+ <br>Test for PostMessage from the host browser to iframe and back</p> |
+ </body> |
+</html> |