mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +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: Optionally-blockable content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of optionally-blockable content">
|
||||
<meta name="assert" content="opt_in_method: meta-csp
|
||||
origin: same-host-http
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: audio-tag
|
||||
expectation: blocked"><meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
|
||||
<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>Optionally-blockable content</h1>
|
||||
<h2>Test behavior of optionally-blockable content</h2>
|
||||
<pre>opt_in_method: meta-csp
|
||||
origin: same-host-http
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: audio-tag
|
||||
expectation: blocked</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/#category-optionally-blockable" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "meta-csp",
|
||||
"origin": "same-host-http",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "audio-tag",
|
||||
"expectation": "blocked"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -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: Optionally-blockable content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of optionally-blockable content">
|
||||
<meta name="assert" content="opt_in_method: meta-csp
|
||||
origin: same-host-http
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: img-tag
|
||||
expectation: blocked"><meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
|
||||
<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>Optionally-blockable content</h1>
|
||||
<h2>Test behavior of optionally-blockable content</h2>
|
||||
<pre>opt_in_method: meta-csp
|
||||
origin: same-host-http
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: img-tag
|
||||
expectation: blocked</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/#category-optionally-blockable" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "meta-csp",
|
||||
"origin": "same-host-http",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "img-tag",
|
||||
"expectation": "blocked"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -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: Optionally-blockable content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of optionally-blockable content">
|
||||
<meta name="assert" content="opt_in_method: meta-csp
|
||||
origin: same-host-http
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: link-prefetch-tag
|
||||
expectation: blocked"><meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
|
||||
<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>Optionally-blockable content</h1>
|
||||
<h2>Test behavior of optionally-blockable content</h2>
|
||||
<pre>opt_in_method: meta-csp
|
||||
origin: same-host-http
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: link-prefetch-tag
|
||||
expectation: blocked</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/#category-optionally-blockable" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "meta-csp",
|
||||
"origin": "same-host-http",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "link-prefetch-tag",
|
||||
"expectation": "blocked"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -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: Optionally-blockable content</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name="description" content="Test behavior of optionally-blockable content">
|
||||
<meta name="assert" content="opt_in_method: meta-csp
|
||||
origin: same-host-http
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: video-tag
|
||||
expectation: blocked"><meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
|
||||
<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>Optionally-blockable content</h1>
|
||||
<h2>Test behavior of optionally-blockable content</h2>
|
||||
<pre>opt_in_method: meta-csp
|
||||
origin: same-host-http
|
||||
source_scheme: https
|
||||
context_nesting: top-level
|
||||
redirection: no-redirect
|
||||
subresource: video-tag
|
||||
expectation: blocked</pre>
|
||||
|
||||
<p>See <a href="http://www.w3.org/TR/mixed-content/#category-optionally-blockable" target="_blank">specification</a>
|
||||
details for this test.</p>
|
||||
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
MixedContentTestCase(
|
||||
{
|
||||
"opt_in_method": "meta-csp",
|
||||
"origin": "same-host-http",
|
||||
"source_scheme": "https",
|
||||
"context_nesting": "top-level",
|
||||
"redirection": "no-redirect",
|
||||
"subresource": "video-tag",
|
||||
"expectation": "blocked"
|
||||
},
|
||||
document.querySelector("meta[name=assert]").content,
|
||||
new SanityChecker()
|
||||
).start();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue