| Index: LayoutTests/http/tests/security/upgrade-insecure-requests/https-header-subresource.html
|
| diff --git a/LayoutTests/http/tests/security/upgrade-insecure-requests/https-header-subresource.html b/LayoutTests/http/tests/security/upgrade-insecure-requests/https-header-subresource.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c5afeaa99323edc2e0c146486768e2c45fe38a2b
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/security/upgrade-insecure-requests/https-header-subresource.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 subresources do not receive an 'HTTPS' header.");
|
| + fetch("resources/echo-https-header.pl").then(t.step_func(function(res) {
|
| + return res.json();
|
| + })).then(t.step_func(function(json) {
|
| + assert_equals(json.https, "");
|
| + t.done();
|
| + }));
|
| + </script>
|
| +</head>
|
| +<body>
|
| +</body>
|
| +</html>
|
|
|