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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/mixedContent/resources/frame-with-invisible-DOM-with-insecure-form.html

Issue 1931063004: Stop blocking 'http://127.0.0.1/' as mixed content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ugh. Created 4 years, 6 months 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
1 <script> 1 <script>
2 function load_content() { 2 function load_content() {
3 var invisible_doc = document.implementation.createHTMLDocument(""); 3 var invisible_doc = document.implementation.createHTMLDocument("");
4 invisible_doc.body.innerHTML = '<html><body><form action="http://127.0.0.1:8 080/security/resources/boring.html" method="post"></form></body></html>'; 4 invisible_doc.body.innerHTML = '<html><body><form action="http://example.tes t:8080/security/resources/boring.html" method="post"></form></body></html>';
5 } 5 }
6 6
7 window.addEventListener("DOMContentLoaded", function listener() { load_content() ; }, false); 7 window.addEventListener("DOMContentLoaded", function listener() { load_content() ; }, false);
8 </script> 8 </script>
9 9
10 <script> 10 <script>
11 window.onload = function() { 11 window.onload = function() {
12 if (window.opener) 12 if (window.opener)
13 window.opener.postMessage('done', '*'); 13 window.opener.postMessage('done', '*');
14 }; 14 };
15 </script> 15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698