| Index: third_party/WebKit/LayoutTests/http/tests/security/upgrade-insecure-requests/iframe-top-navigation-no-upgrade-2.https.php
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/upgrade-insecure-requests/iframe-top-navigation-no-upgrade-2.https.php b/third_party/WebKit/LayoutTests/http/tests/security/upgrade-insecure-requests/iframe-top-navigation-no-upgrade-2.https.php
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fa224bba75dbeade2b69cee8e32ec7e30953c026
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/upgrade-insecure-requests/iframe-top-navigation-no-upgrade-2.https.php
|
| @@ -0,0 +1,22 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| + <head>
|
| + <title>Upgrade Insecure Requests: top-frame navigation inside iframe (no upgrade expected)</title>
|
| + <script>
|
| + if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.waitUntilDone();
|
| + }
|
| + </script>
|
| +
|
| + </head>
|
| + <body>
|
| + <!-- This is a bit of a hack. UPGRADE doesn't upgrade the port number. So if
|
| + the url is upgraded, the url becomes invalid (https over the 8080 port).
|
| + The expected behavior is that the url is not upgraded and the page load. -->
|
| + <iframe
|
| + sandbox="allow-scripts allow-top-navigation"
|
| + src="https://example.test:8443/security/upgrade-insecure-requests/resources/navigate-top-frame-upgrade.php?url=http://127.0.0.1:8080/misc/resources/success-notify-done.html"
|
| + ></iframe>
|
| + </body>
|
| +</html>
|
|
|