Html程序  |  24行  |  802 B

<html>
  <head><title>Test to make sure that navigations sent back to IE</title>
    <meta http-equiv="X-UA-Compatible" content="chrome=1" />
    <script type="text/javascript"
        src="chrome_frame_tester_helpers.js"></script>
    <script type="text/javascript">
      function test() {
        var test_name = 'navigate_out';
        if (isRunningInMSIE()) {
          onFailure(test_name, 1, 'Meta tag failed to load page in Chrome');
        } else {
          window.location = "back_to_ie.html";
        }
      }
    </script>
  </head>
  <body onLoad="setTimeout(test, 100);">
    <h2>Test navigations in and out of IE</h2>
    <p>This page should be loaded in chrome and then we redirect to another
      page that should get loaded in IE.
    </p>
  </body>
</html>