firefox-devtools / firefox-devtools/profiler

from-url with http://localhost URLs does not work in Safari

Open
#3,446 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

Browsers generally do not allow https pages to `fetch` from http pages ("mixed content"). However, Firefox and Chrome consider `http://127.0.0.1` potentially trustworthy and allow https pages to communicate with it. But Safari does not. This means that, only in Safari, `https://profiler.firefox.com/` is prevented from importing a profile from `http://127.0.0.1:8000/`, for example.

This completely breaks the "import from local server" use case. I'm not sure what to do about it.

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-418)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.