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

Side by Side Diff: LayoutTests/http/tests/security/upgrade-insecure-requests/https-header-subresource.html

Issue 1287453005: Merge 198924 "UPGRADE: Rename the 'https' header." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2403_901/
Patch Set: Created 5 years, 4 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="/resources/testharness.js"></script> 4 <script src="/resources/testharness.js"></script>
5 <script src="/resources/testharnessreport.js"></script> 5 <script src="/resources/testharnessreport.js"></script>
6 <script> 6 <script>
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.setCanOpenWindows(); 8 testRunner.setCanOpenWindows();
9 9
10 var t = async_test("Verify that subresources do not receive an 'HTTPS' heade r."); 10 var t = async_test("Verify that subresources do not receive an 'HTTPS' heade r.");
11 fetch("resources/echo-https-header.pl").then(t.step_func(function(res) { 11 fetch("resources/echo-https-header.pl").then(t.step_func(function(res) {
12 return res.json(); 12 return res.json();
13 })).then(t.step_func(function(json) { 13 })).then(t.step_func(function(json) {
14 assert_equals(json.https, ""); 14 assert_equals(json.header, "");
15 t.done(); 15 t.done();
16 })); 16 }));
17 </script> 17 </script>
18 </head> 18 </head>
19 <body> 19 <body>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698