summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/data/CFInstance_post_frame.html
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/test/data/CFInstance_post_frame.html')
-rw-r--r--chrome_frame/test/data/CFInstance_post_frame.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/chrome_frame/test/data/CFInstance_post_frame.html b/chrome_frame/test/data/CFInstance_post_frame.html
new file mode 100644
index 0000000..8055cb2
--- /dev/null
+++ b/chrome_frame/test/data/CFInstance_post_frame.html
@@ -0,0 +1,26 @@
+<!-- saved from url=(0014)about:internet -->
+<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.listen("load", function() {
+ cf.postMessage("hola!");
+ })
+ </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>