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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/referrer-policy/generic/subresource-test/image-decoding.html

Issue 2695813009: Import wpt@503f5b5f78ec4e87d144f78609f363f0ed0ea8db (Closed)
Patch Set: Skip some tests 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
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698