Index: LayoutTests/http/tests/security/upgrade-insecure-requests/https-header-nested.html |
diff --git a/LayoutTests/http/tests/security/upgrade-insecure-requests/https-header-nested.html b/LayoutTests/http/tests/security/upgrade-insecure-requests/https-header-nested.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8a0756d3296cec62ca936fbd4eea990046a6aced |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/upgrade-insecure-requests/https-header-nested.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <script src="/resources/testharness.js"></script> |
+ <script src="/resources/testharnessreport.js"></script> |
+ <script> |
+ 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(); |
+ })); |
+ </script> |
+</head> |
+<body> |
+ <iframe src="resources/post-https-header.pl"></iframe> |
+</body> |
+</html> |