Home | History | Annotate | Download | only in data
      1 <html>
      2   <head>
      3     <meta http-equiv="x-ua-compatible" content="chrome=1" />
      4     <title>ChromeFrame referrer frame</title>
      5     <script type="text/javascript"
      6         src="chrome_frame_tester_helpers.js"></script>
      7 
      8     <script type="text/javascript">
      9       function onLoad() {
     10         if (isRunningInChrome()) {
     11           var referrer_search = /referrer_main.html/;
     12           var referrer_pos = document.referrer.search(referrer_search);
     13 
     14           if (referrer_pos != -1) {
     15             onSuccess("FullTab_ReferrerTest", 1);
     16           } else {
     17             onFailure("FullTab_ReferrerTest", 1, "Failed to find referrer");
     18           }
     19         }
     20       }
     21     </script>
     22   </head>
     23 
     24   <body onLoad="onLoad()">
     25     ChromeFrame full tab mode referrer test
     26   </body>
     27 </html>
     28