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

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

Issue 1178093002: Correctly send the 'HTTPS' header for top-level navigations. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tests. Created 5 years, 6 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 <html>
3 <head>
4 <script src="/resources/testharness.js"></script>
5 <script src="/resources/testharnessreport.js"></script>
6 <script>
7 var t = async_test("Verify that nested documents receive an 'HTTPS' header." );
8 window.addEventListener("message", t.step_func(function (message) {
9 assert_equals(message.data.https, "1");
10 t.done();
11 }));
12 </script>
13 </head>
14 <body>
15 <iframe src="resources/post-https-header.pl"></iframe>
16 </body>
17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698