Open Bug 1599717 Opened 5 years ago Updated 2 years ago

Consider delegating "is this the default browser" checks to "are we the default for http/https protocols" checks on the external protocol service

Categories

(Firefox :: Shell Integration, task)

task

Tracking

()

Tracking Status
firefox72 --- affected

People

(Reporter: Gijs, Unassigned)

References

Details

In bug 1496380 I added an API on the external protocol service that takes an arbitrary protocol string and returns whether or not Firefox is the default.

It looks like the shell service on mac and windows does things slightly differently - on Windows, it does some strict checks on the exact values of the registry entry (unsure why?), and on mac it cares about the app bundle identifier rather than the actual .app file (so if some other Firefox is the default then it'll say "we're the default browser", even if the specific running app is not).

At least on Windows, it may be that we also want the mime service to provide a similar API for files so we can check if we're the default app for HTML, too.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.