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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-fetch.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, 5 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 fetch("http://127.0.0.1:8000/xmlhttprequest/resources/access-control-allow-lists .php?origin=*", {method: "POST"}) 2 fetch("http://example.test:8000/xmlhttprequest/resources/access-control-allow-li sts.php?origin=*", {method: "POST"})
3 .then(() => { 3 .then(() => {
4 window.opener.postMessage('FAIL: Fetch API succeeded unexpectedly', '*'); 4 window.opener.postMessage('FAIL: Fetch API succeeded unexpectedly', '*');
5 }, e => { 5 }, e => {
6 window.opener.postMessage('DONE', '*'); 6 window.opener.postMessage('DONE', '*');
7 }); 7 });
8 </script> 8 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698