1
0
Fork 0
firefox/testing/web-platform/tests/upgrade-insecure-requests/link-upgrade/iframe-link-upgrade.sub.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

11 lines
621 B
HTML

<!--
This document has set "Content-Security-Policy: upgrade-insecure-requests". It
contains an iframe. This iframe clicks on a link to the same host. The link
must be upgraded.
This is a bit of a hack. UPGRADE doesn't upgrade the port number. So if
the url is not upgraded, the url is invalid (http over the https port).
The expected behavior is that the url is upgraded and the page loads.
-->
<iframe src= "./resources/click-on-link.sub.html?url=http://{{host}}:{{ports[https][0]}}/upgrade-insecure-requests/link-upgrade/resources/post-message-to-opener.sub.html%3Fmessage=iframe-link-upgrade">
</iframe>