Index: LayoutTests/http/tests/security/upgrade-insecure-requests/https-header-auxiliary.html |
diff --git a/LayoutTests/http/tests/security/upgrade-insecure-requests/https-header-auxiliary.html b/LayoutTests/http/tests/security/upgrade-insecure-requests/https-header-auxiliary.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..53628620da89a65cf5ae79a952cc65cf21619a81 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/upgrade-insecure-requests/https-header-auxiliary.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <script src="/resources/testharness.js"></script> |
+ <script src="/resources/testharnessreport.js"></script> |
+ <script> |
+ if (window.testRunner) |
+ testRunner.setCanOpenWindows(); |
+ |
+ var t = async_test("Verify that nested documents receive an 'HTTPS' header."); |
+ window.addEventListener("message", t.step_func(function (message) { |
+ assert_equals(message.data.https, "1"); |
+ t.done(); |
+ })); |
+ |
+ window.open("resources/post-https-header.pl"); |
+ </script> |
+</head> |
+<body> |
+</body> |
+</html> |