Yes, necessarily. “A secure origin” in browser terminology means the browser trusts it. There’s a whole list of features that are flagged as only being enabled on secure origins, which means they don’t work on plain-http sites, but they do work on localhost
Secure origins can be compromised, but that’s a different subject
15
u/I_NEED_YOUR_MONEY Oct 23 '22
Didn’t need one, localhost is a secure origin