mirror of
https://github.com/servo/servo.git
synced 2025-08-08 15:05:35 +01:00
Update web-platform-tests to revision 5e3ea8f49fee68c327388bfd1dd1375a8ce12a0e.
This commit is contained in:
parent
12195a5c4a
commit
bfb96b9448
1166 changed files with 35123 additions and 900 deletions
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: audio-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: audio-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "keep-scheme-redirect",
|
||||
"subresource": "audio-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: audio-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: audio-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "audio-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: fetch-request
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: fetch-request
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "keep-scheme-redirect",
|
||||
"subresource": "fetch-request",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: fetch-request
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: fetch-request
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "fetch-request",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: form-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: form-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "keep-scheme-redirect",
|
||||
"subresource": "form-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: form-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: form-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "form-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: iframe-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: iframe-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "keep-scheme-redirect",
|
||||
"subresource": "iframe-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: iframe-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: iframe-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "iframe-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: img-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: img-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "keep-scheme-redirect",
|
||||
"subresource": "img-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: img-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: img-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "img-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: link-css-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: link-css-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "keep-scheme-redirect",
|
||||
"subresource": "link-css-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: link-css-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: link-css-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "link-css-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: link-prefetch-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: link-prefetch-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "keep-scheme-redirect",
|
||||
"subresource": "link-prefetch-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: link-prefetch-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: link-prefetch-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "link-prefetch-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: object-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: object-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "keep-scheme-redirect",
|
||||
"subresource": "object-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: object-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: object-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "object-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: picture-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: picture-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "keep-scheme-redirect",
|
||||
"subresource": "picture-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: picture-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: picture-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "picture-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: script-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: script-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "keep-scheme-redirect",
|
||||
"subresource": "script-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: script-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: script-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "script-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: video-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: video-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "keep-scheme-redirect",
|
||||
"subresource": "video-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: video-tag
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: video-tag
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "video-tag",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: worker-request
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: worker-request
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "keep-scheme-redirect",
|
||||
"subresource": "worker-request",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: worker-request
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: worker-request
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "worker-request",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: xhr-request
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: keep-scheme-redirect
|
||||
subresource: xhr-request
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "keep-scheme-redirect",
|
||||
"subresource": "xhr-request",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.debug.html.template. -->
|
||||
<html>
|
||||
<head>
|
||||
<title>Mixed-Content: Allowed content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of allowed content.">
|
||||
<meta name="assert" content="opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: xhr-request
|
||||
expectation: allowed">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<!-- Common global functions for mixed-content tests. -->
|
||||
<script src="/mixed-content/generic/common.js"></script>
|
||||
<!-- The original specification JSON for validating the scenario. -->
|
||||
<script src="/mixed-content/spec_json.js"></script>
|
||||
<!-- Internal checking of the tests -->
|
||||
<script src="/mixed-content/generic/sanity-checker.js"></script>
|
||||
<!-- Simple wrapper API for all mixed-content test cases. -->
|
||||
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Allowed content</h1>
|
||||
<h2>Test behavior of allowed content.</h2>
|
||||
<pre>opt_in_method: http-csp
|
||||
origin: same-host-https
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: xhr-request
|
||||
expectation: allowed</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "http-csp",
|
||||
"origin": "same-host-https",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "xhr-request",
|
||||
"expectation": "allowed"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: block-all-mixed-content
|
Loading…
Add table
Add a link
Reference in a new issue