Me: Boy, I'd like to test that new browser API. Let me spin up a small project on localhost.

WHATWG: Sorry, https only.

Follow

@domenic hmm.

Maybe I should do more testing. I was under the impression that http on localhost wouldn't get me, say, a service worker.

I'm pretty sure there are APIs that are blocked on file: URLs for security reasons.

@WomanCorn file: URLs are broken for various reasons; bypassing such a large chunk of the platform (i.e. the network stack, the origin model, ...) often has bad interactions. http on localhost should work fine though.

Sign in to participate in the conversation
Mastodon

a Schelling point for those who seek one