Home | History | Annotate | Download | only in data
      1 <!DOCTYPE html>
      2 
      3 <html>
      4 <!-- This page is meant to load inside ChromeFrame -->
      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     <script>
     11       var cf = CFInstance;
     12       cf.rpc.expose("rpcHandler", function(arg) {
     13         cf.rpc.callRemote("handleCallback", ["hola!"]);
     14       });
     15       cf.rpc.init();
     16     </script>
     17   </head>
     18 
     19   <body>
     20     <div id="statusPanel" style="border: 1px solid red; width: 100%">
     21       Test running....
     22     </div>
     23 
     24     <p>ChromeFrame + CFInstance PostMessage Test
     25     <br>Test for PostMessage from the host browser to iframe and back</p>
     26   </body>
     27 </html>
     28