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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-localhost-allowed.https.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: Created 4 years, 7 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="/resources/testharness.js"></script>
5 <script src="/resources/testharnessreport.js"></script>
6 <script>
7 if (window.testRunner)
8 testRunner.overridePreference("WebKitAllowRunningInsecureContent", false );
9
10 async_test(t => {
estark 2016/05/02 04:48:46 optional nit: maybe add a sanity check that fetchi
Mike West 2016/05/04 07:50:13 Done.
11 fetch("http://127.0.0.1:8000/xmlhttprequest/resources/access-control-all ow-lists.php?origin=*", {method: "POST"})
12 .then(t.step_func_done(r => r.text()))
13 .then(t => assert_equals("", t))
14 .catch(t.unreached_func("Fetch should not be blocked."));
15 }, "Fetching 'http://127.0.0.1/' should not be blocked.");
16 </script>
17 </body>
18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698