OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="/resources/testharness.js"></script> | 4 <script src="/resources/testharness.js"></script> |
5 <script src="/resources/testharnessreport.js"></script> | 5 <script src="/resources/testharnessreport.js"></script> |
6 <script> | 6 <script> |
7 if (window.testRunner) | 7 if (window.testRunner) |
8 testRunner.setCanOpenWindows(); | 8 testRunner.setCanOpenWindows(); |
9 | 9 |
10 var t = async_test("Verify that nested documents receive an 'HTTPS' header."
); | 10 var t = async_test("Verify that nested documents receive an 'HTTPS' header."
); |
11 window.addEventListener("message", t.step_func(function (message) { | 11 window.addEventListener("message", t.step_func(function (message) { |
12 assert_equals(message.data.https, "1"); | 12 assert_equals(message.data.header, "1"); |
13 t.done(); | 13 t.done(); |
14 })); | 14 })); |
15 | 15 |
16 window.open("resources/post-https-header.pl"); | 16 window.open("resources/post-https-header.pl"); |
17 </script> | 17 </script> |
18 </head> | 18 </head> |
19 <body> | 19 <body> |
20 </body> | 20 </body> |
21 </html> | 21 </html> |
OLD | NEW |