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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/upgrade-insecure-requests/resources/navigate-top-frame.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/security/upgrade-insecure-requests/resources/navigate-top-frame.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/upgrade-insecure-requests/resources/navigate-top-frame.php b/third_party/WebKit/LayoutTests/http/tests/security/upgrade-insecure-requests/resources/navigate-top-frame.php
new file mode 100644
index 0000000000000000000000000000000000000000..3b72972cf0dc679e4fa10a2a5b852b73917a822d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/upgrade-insecure-requests/resources/navigate-top-frame.php
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<html>
+ <body>
+ <script>
+ window.top.location.href = <?php echo json_encode($_GET['url']) ?>;
+ </script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698