Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/referrer-policy/generic/template/test.debug.html.template

Issue 2697453005: Import wpt@758b3b4cfa805067f36121333ba031e583d3a62c (Closed)
Patch Set: Add -expected.txt files. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 %(generated_disclaimer)s
3 <html>
4 <head>
5 <title>Referrer-Policy: %(spec_title)s</title>%(meta_delivery_method)s
6 <meta name="description" content="%(spec_description)s">
7 <meta name="assert" content="%(test_description)s">
8 <script src="/resources/testharness.js"></script>
9 <script src="/resources/testharnessreport.js"></script>
10 <!-- Common global functions for referrer-policy tests. -->
11 <script src="/referrer-policy/generic/common.js"></script>
12 <!-- The original specification JSON for validating the scenario. -->
13 <script src="/referrer-policy/spec_json.js"></script>
14 <!-- Internal checking of the tests -->
15 <script src="/referrer-policy/generic/sanity-checker.js"></script>
16 <!-- Simple wrapper API for all referrer-policy test cases. -->
17 <script src="/referrer-policy/generic/referrer-policy-test-case.js?pipe=sub" ></script>
18 </head>
19 <body>
20 <h1>%(spec_title)s</h1>
21 <h2>%(spec_description)s</h2>
22
23 <p>
24 <script>
25 // Show the detailed assertion description of the test.
26 document.write(document.querySelector("meta[name=assert]").content);
27 </script>
28 </p>
29
30 <p>See <a href="%(spec_specification_url)s" target="_blank">specification</a >
31 details for this test.</p>
32
33 <h3>Scenario outline</h3>
34 <table>
35 <tbody>
36 <tr>
37 <th>Delivery method</th>
38 <td>%(delivery_method)s</td>
39 </tr>
40 <tr>
41 <th>Redirection</th>
42 <td>%(redirection)s</td>
43 </tr>
44 <tr>
45 <th>Origin transition</th>
46 <td>%(origin)s</td>
47 </tr>
48 <tr>
49 <th>Protocol transition</th>
50 <td>from %(source_protocol)s to %(target_protocol)s</td>
51 </tr>
52 <tr>
53 <th>Subresource type</th>
54 <td>%(subresource)s</td>
55 </tr>
56 <tr>
57 <td colspan="2"><hr></td>
58 </tr>
59 <tr>
60 <th>Expected result</th>
61 <td>Referrer URL should be <strong>%(referrer_url)s</strong></td>
62 </tr>
63 <tbody>
64 </table>
65
66 <script>%(test_js)s</script>
67
68 <div id="log"></div>
69 </body>
70 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698