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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-srcset.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 window.onload = function() { 2 window.onload = function() {
3 var img = document.createElement('img'); 3 var img = document.createElement('img');
4 img.src = 'http://127.0.0.1:8080/security/resources/compass.jpg'; 4 img.src = 'http://example.test:8080/security/resources/compass.jpg';
5 img.srcset = 'http://127.0.0.1:8080/security/resources/compass.jpg 2x'; 5 img.srcset = 'http://example.test:8080/security/resources/compass.jpg 2x';
6 img.addEventListener('load', function () { 6 img.addEventListener('load', function () {
7 if (window.opener) 7 if (window.opener)
8 window.opener.postMessage('done', '*'); 8 window.opener.postMessage('done', '*');
9 }); 9 });
10 document.body.appendChild(img); 10 document.body.appendChild(img);
11 }; 11 };
12 </script> 12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698