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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/upgrade-insecure-requests/resources/navigate-top-frame-upgrade.php

Issue 2538143004: Upgrade-insecure-requests: 4 new tests about links upgrade.
Patch Set: Upgrade-insecure-requests: 4 new tests about links upgrade. Created 4 years 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 <?php
2 header("Content-Security-Policy: upgrade-insecure-requests");
3 ?>
4 <!DOCTYPE html>
5 <html>
6 <body>
7 <script>
8 window.top.location.href = <?php echo json_encode($_GET['url']) ?>;
9 </script>
10 </body>
11 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/security/upgrade-insecure-requests/resources/navigate-top-frame.php ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698