summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/data/CFInstance_rpc_frame.html
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/test/data/CFInstance_rpc_frame.html')
-rw-r--r--chrome_frame/test/data/CFInstance_rpc_frame.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/chrome_frame/test/data/CFInstance_rpc_frame.html b/chrome_frame/test/data/CFInstance_rpc_frame.html
new file mode 100644
index 0000000..a7dbfd7
--- /dev/null
+++ b/chrome_frame/test/data/CFInstance_rpc_frame.html
@@ -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>