mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Update web-platform-tests to revision 7d24adef541b2e836f2b2f9534ce3f0e078f5782
This commit is contained in:
parent
9fb83d8143
commit
bd54acb29d
15749 changed files with 178578 additions and 425713 deletions
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "fetch",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for fetch to cross-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "fetch",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for fetch to same-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "fetch",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for fetch to cross-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "fetch",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for fetch to same-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "fetch",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for fetch to same-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "fetch",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for fetch to cross-http-downgrade origin and no-redirect redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for fetch to cross-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "fetch",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for fetch to cross-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "fetch",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for fetch to cross-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "fetch",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for fetch to same-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "fetch",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for fetch to same-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "fetch",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for fetch to same-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "fetch",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "iframe-tag",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for iframe-tag to same-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "iframe-tag",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for iframe-tag to cross-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "iframe-tag",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for iframe-tag to cross-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "iframe-tag",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for iframe-tag to same-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "iframe-tag",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for iframe-tag to same-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "iframe-tag",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for iframe-tag to cross-https origin and downgrade redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for iframe-tag to cross-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "iframe-tag",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for iframe-tag to cross-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "iframe-tag",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for iframe-tag to cross-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "iframe-tag",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for iframe-tag to same-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "iframe-tag",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for iframe-tag to same-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "iframe-tag",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for iframe-tag to same-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "iframe-tag",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "img-tag",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for img-tag to same-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "img-tag",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "img-tag",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for img-tag to same-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "img-tag",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "img-tag",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "img-tag",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for img-tag to same-http-downgrade origin and downgrade redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "img-tag",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "img-tag",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for img-tag to cross-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "img-tag",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for img-tag to same-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "img-tag",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for img-tag to same-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "img-tag",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for img-tag to same-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "img-tag",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,68 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-classic",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-classic to same-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-classic",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-classic to same-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-classic",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-classic to same-http-downgrade origin and downgrade redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for sharedworker-classic to same-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-classic",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for sharedworker-classic to same-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-classic",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for sharedworker-classic to same-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-classic",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to cross-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to same-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to cross-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to same-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to cross-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to same-https origin and downgrade redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to cross-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to cross-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to cross-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to same-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to same-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for sharedworker-import-data to same-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,68 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-module",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-module to same-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-module",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-module to same-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-module",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for sharedworker-module to same-http-downgrade origin and no-redirect redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for sharedworker-module to same-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-module",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for sharedworker-module to same-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-module",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for sharedworker-module to same-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "sharedworker-module",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,53 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-ws-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "websocket",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for websocket to same-ws-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-ws-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "websocket",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for websocket to cross-ws-downgrade origin and no-redirect redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for websocket to cross-ws-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-ws-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "websocket",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for websocket to same-ws-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-ws-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "websocket",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,68 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-classic",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-classic",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-classic",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-http-downgrade origin and no-redirect redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-classic",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-classic",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worker-classic to same-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-classic",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worker-import-data to same-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worker-import-data to cross-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worker-import-data to cross-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worker-import-data to same-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worker-import-data to cross-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worker-import-data to same-http-downgrade origin and no-redirect redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worker-import-data to cross-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worker-import-data to cross-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worker-import-data to cross-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worker-import-data to same-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worker-import-data to same-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worker-import-data to same-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,68 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-module",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worker-module to same-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-module",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worker-module to same-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-module",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worker-module to same-http-downgrade origin and no-redirect redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worker-module to same-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-module",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worker-module to same-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-module",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worker-module to same-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worker-module",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-animation-import-data to cross-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-animation-import-data to same-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-animation-import-data to cross-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-animation-import-data to same-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-animation-import-data to same-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-animation-import-data to cross-https origin and downgrade redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-animation-import-data to cross-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-animation-import-data to cross-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-animation-import-data to cross-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-animation-import-data to same-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-animation-import-data to same-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-animation-import-data to same-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-animation to cross-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-animation to same-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-animation to same-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-animation to cross-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-animation to cross-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-animation to same-https origin and downgrade redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-animation to cross-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-animation to cross-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-animation to cross-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-animation to same-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-animation to same-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-animation to same-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-animation",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-audio-import-data to cross-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-audio-import-data to same-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-audio-import-data to same-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-audio-import-data to same-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-audio-import-data to cross-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-audio-import-data to cross-https origin and downgrade redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-audio-import-data to cross-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-audio-import-data to cross-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-audio-import-data to cross-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-audio-import-data to same-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-audio-import-data to same-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-audio-import-data to same-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-audio to cross-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-audio to same-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-audio to cross-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-audio to cross-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-audio to same-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-audio to same-http-downgrade origin and downgrade redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-audio to cross-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-audio to cross-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-audio to cross-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-audio to same-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-audio to same-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-audio to same-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-audio",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout-import-data to same-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout-import-data to same-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout-import-data to cross-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout-import-data to cross-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout-import-data to cross-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout-import-data to same-http-downgrade origin and no-redirect redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-layout-import-data to cross-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-layout-import-data to cross-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-layout-import-data to cross-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-layout-import-data to same-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-layout-import-data to same-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-layout-import-data to same-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout to same-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout to cross-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout to cross-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout to same-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout to same-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-layout to cross-http-downgrade origin and no-redirect redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-layout to cross-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-layout to cross-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-layout to cross-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-layout to same-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-layout to same-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-layout to same-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-layout",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="timeout" content="long">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
[
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-paint-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-paint-import-data to same-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-paint-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-paint-import-data to same-http-downgrade origin and no-redirect redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-paint-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-paint-import-data to cross-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "same-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-paint-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-paint-import-data to same-https origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-paint-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-paint-import-data to cross-http-downgrade origin and downgrade redirection from https context."
|
||||
},
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-paint-import-data",
|
||||
"subresource_policy_deliveries": [],
|
||||
"test_description": "Upgrade-Insecure-Requests: Expects allowed for worklet-paint-import-data to cross-http-downgrade origin and no-redirect redirection from https context."
|
||||
}
|
||||
],
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-paint-import-data to cross-http-downgrade origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-paint-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-paint-import-data to cross-http-downgrade origin and no-redirect redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-http-downgrade",
|
||||
"redirection": "no-redirect",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-paint-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,40 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec upgrade-insecure-requests/` -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Upgrade-Insecure-Requests: With upgrade-insecure-request</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="With upgrade-insecure-request">
|
||||
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
|
||||
<link rel="help" href="https://w3c.github.io/webappsec-upgrade-insecure-requests/">
|
||||
<meta name="assert" content="Upgrade-Insecure-Requests: Expects allowed for worklet-paint-import-data to cross-https origin and downgrade redirection from https context.">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/security-features/resources/common.sub.js"></script>
|
||||
<script src="../../../../generic/test-case.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
TestCase(
|
||||
{
|
||||
"expectation": "allowed",
|
||||
"origin": "cross-https",
|
||||
"redirection": "downgrade",
|
||||
"source_context_list": [
|
||||
{
|
||||
"policyDeliveries": [],
|
||||
"sourceContextType": "srcdoc"
|
||||
}
|
||||
],
|
||||
"source_scheme": "https",
|
||||
"subresource": "worklet-paint-import-data",
|
||||
"subresource_policy_deliveries": []
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
<div id="log"></div>
|
||||
</body>
|
||||
</html>
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue