summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/data/chrome_frame_http_header.html
blob: 47c2277864ecb14637fa457c785a0e4be947a695 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<html>
  <head>
    <script type="text/javascript"
            src="chrome_frame_tester_helpers.js"></script>
  </head>
  <body>
    <div id="statusPanel" style="border: 1px solid red; width: 100%">
      Test running....
    </div>

    <script type="text/javascript">
      var testName = 'FullTabHttpHeader';
      (function(){
        try {
          if (TestIfRunningInChrome()) {
            onSuccess(testName, 1);
          } else {
            onFailure(testName, 1, 'Failed to load in Chrome.');
          }
        } catch (e) {
          onFailure(testName, 1,
                    testName + ' failed with error: ' + e);
        }
      })();
    </script>
    <p>Tests Chrome Frame full tab mode loading via an HTTP header.</p>
  </body>
</html>