OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- TODO(kristijanburnik): Remove subres. duplication. Reuse a template. --> | 2 <!-- TODO(kristijanburnik): Remove subres. duplication. Reuse a template. --> |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <title>Image decoding - cross-origin image request</title> | 5 <title>Image decoding - cross-origin image request</title> |
6 <script src="/resources/testharness.js"></script> | 6 <script src="/resources/testharness.js"></script> |
7 <script src="/resources/testharnessreport.js"></script> | 7 <script src="/resources/testharnessreport.js"></script> |
8 <!-- Common global functions for referrer-policy tests. --> | 8 <!-- Common global functions for referrer-policy tests. --> |
9 <script src="/referrer-policy/generic/common.js"></script> | 9 <script src="/referrer-policy/generic/common.js"></script> |
10 </head> | 10 </head> |
(...skipping 13 matching lines...) Expand all Loading... |
24 var pre = document.getElementById('received_message') | 24 var pre = document.getElementById('received_message') |
25 var headers = message.headers; | 25 var headers = message.headers; |
26 pre.innerHTML = ""; | 26 pre.innerHTML = ""; |
27 pre.innerHTML += url + ":\n\n"; | 27 pre.innerHTML += url + ":\n\n"; |
28 pre.innerHTML += JSON.stringify(headers, null, 2) + "\n\n" | 28 pre.innerHTML += JSON.stringify(headers, null, 2) + "\n\n" |
29 messaging_test.step(function() { | 29 messaging_test.step(function() { |
30 assert_own_property(headers, "host") | 30 assert_own_property(headers, "host") |
31 assert_own_property(headers, "connection") | 31 assert_own_property(headers, "connection") |
32 }); | 32 }); |
33 messaging_test.done(); | 33 messaging_test.done(); |
34 }); | 34 }, null, "always", messaging_test); |
35 </script> | 35 </script> |
36 | 36 |
37 <div id="log"></div> | 37 <div id="log"></div> |
38 </body> | 38 </body> |
39 </html> | 39 </html> |
OLD | NEW |