I make a HTTP request:
- from a HTTPS JSFiddle:
fetch('http://localhost:8090').then(...)
- to HTTP localhost or 127.0.0.1
And it works.
No "Mixed Content" errors in Chrome (v89.0.4389.90) and Firefox (v86.0.1). Only Safari blocks the request. However, requests to 192.168.1.x trigger "Mixed Content" errors.
Is localhost explicitly whitelisted in Chrome and Firefox? Or is it scheduled by browser vendors to be blocked with "Mixed Content" at some point, too?
Can this be relied upon, for example, to control a local app bound to localhost that serves HTTP API?