Update web-platform-tests to revision 5e3ea8f49fee68c327388bfd1dd1375a8ce12a0e.

This commit is contained in:
Ms2ger 2015-07-09 14:05:01 +02:00
parent 12195a5c4a
commit bfb96b9448
1166 changed files with 35123 additions and 900 deletions

View file

@ -0,0 +1 @@
<!-- DO NOT EDIT! Generated by %(generating_script_filename)s using %(html_template_filename)s. -->

View file

@ -0,0 +1 @@
var SPEC_JSON = %(spec_json)s;

View file

@ -0,0 +1,31 @@
<!DOCTYPE html>
%(generated_disclaimer)s
<html>
<head>
<title>Mixed-Content: %(spec_title)s</title>
<meta charset='utf-8'>
<meta name="description" content="%(spec_description)s">
<meta name="assert" content="%(test_description)s">%(meta_opt_in)s
<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>%(spec_title)s</h1>
<h2>%(spec_description)s</h2>
<pre>%(test_description)s</pre>
<p>See <a href="%(spec_specification_url)s" target="_blank">specification</a>
details for this test.</p>
<div id="log"></div>
<script>%(test_js)s</script>
</body>
</html>

View file

@ -0,0 +1,13 @@
MixedContentTestCase(
{
"opt_in_method": "%(opt_in_method)s",
"origin": "%(origin)s",
"source_scheme": "%(source_scheme)s",
"context_nesting": "%(context_nesting)s",
"redirection": "%(redirection)s",
"subresource": "%(subresource)s",
"expectation": "%(expectation)s"
},
document.querySelector("meta[name=assert]").content,
new SanityChecker()
).start();

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
%(generated_disclaimer)s
<html>
<head>
<title>Mixed-Content: %(spec_title)s</title>
<meta charset='utf-8'>
<meta name="description" content="%(spec_description)s">
<link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
<link rel="help" href="%(spec_specification_url)s">
<meta name="assert" content="%(test_description)s">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/mixed-content/generic/common.js"></script>
<script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
</head>
<body>
<script>%(test_js)s</script>
<div id="log"></div>
</body>
</html>

View file

@ -0,0 +1,7 @@
opt_in_method: %(opt_in_method)s
origin: %(origin)s
source_scheme: %(source_scheme)s
context_nesting: %(context_nesting)s
redirection: %(redirection)s
subresource: %(subresource)s
expectation: %(expectation)s