blob: 7a02c1fd2f5c066d7c7d3061adb068e9c2ea43f4 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="/js-test-resources/testharness.js"></script>
<script src="/js-test-resources/testharnessreport.js"></script>
<script>
var t = async_test("Verify that subresources do not receive an 'Upgrade-Insecure-Requests' 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.header, "");
t.done();
}));
</script>
</head>
<body>
</body>
</html>