Earlier quoted context omitted.
> What exactly is that scenario? Shipping an app with a built-in web server? I've had this need a couple times. My scenario: web-based application that needs to use some usb-gadget (NFC reader for example). You cannot access the device directly because there's no (standard) Browser NFC Reader API implemented in the browsers. You need native code to access that device. Yet your entire application is web-based, and it…
>Wrong, because your web application should be using https. For security reasons, the browser will _not_ allow connections from an https-page to a non-https (or secured web sockets) server. Thus, your native app's exposed API must use https/wss too. And here is where the article's ordeal begins. The article also says that the website could make requests to http://127.0.0.1:portnumber/ and browsers will allow that eve…
Also, I'm willing to bet browsers will block that at some point too...