OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <script type="text/javascript" | |
4 src="chrome_frame_tester_helpers.js"></script> | |
5 <script type="text/javascript"> | |
6 var testName = 'FullTabHttpHeaderIFrame'; | |
7 | |
8 // Called by the child document to report success. | |
9 function reportNotRunningInCF() { | |
10 onSuccess(testName, 1); | |
11 } | |
12 </script> | |
13 </head> | |
14 <body> | |
15 <div id="statusPanel" style="border: 1px solid red; width: 100%"> | |
16 Test running.... | |
17 </div> | |
18 <iframe src="chrome_frame_http_header_child_with_header.html" | |
19 width="200" height="200"></iframe> | |
20 | |
21 <p>Tests that Chrome Frame does not load in full tab mode when an iframe | |
22 page is served with the X-UA-Compatible http header.</p> | |
23 <p>This file loads chrome_frame_http_header_child_with_header.html | |
24 in an iframe</p> | |
25 | |
26 <script type="text/javascript"> | |
27 try { | |
28 if (isRunningInChrome()) { | |
29 onFailure(testName, 1); | |
30 } | |
31 } catch (e) { | |
32 onFailure(testName, 1, | |
33 testName + ' failed with error: ' + e); | |
34 } | |
35 </script> | |
36 </body> | |
37 </html> | |
OLD | NEW |