| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <title>Upgrade Insecure Requests: top-frame navigation inside iframe (no upg
rade expected)</title> |
| 5 <script> |
| 6 if (window.testRunner) { |
| 7 testRunner.dumpAsText(); |
| 8 testRunner.waitUntilDone(); |
| 9 } |
| 10 </script> |
| 11 |
| 12 </head> |
| 13 <body> |
| 14 <!-- This is a bit of a hack. UPGRADE doesn't upgrade the port number. So if |
| 15 the url is upgraded, the url becomes invalid (https over the 8080 port). |
| 16 The expected behavior is that the url is not upgraded and the page load. --> |
| 17 <iframe |
| 18 sandbox="allow-scripts allow-top-navigation" |
| 19 src="https://example.test:8443/security/upgrade-insecure-requests/resource
s/navigate-top-frame-upgrade.php?url=http://127.0.0.1:8080/misc/resources/succes
s-notify-done.html" |
| 20 ></iframe> |
| 21 </body> |
| 22 </html> |
| OLD | NEW |