Closed Bug 1522694 Opened 7 months ago Closed 7 months ago

Add an API to get whether this install is the OS default install

Categories

(Toolkit :: Startup and Profile System, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: mossop, Assigned: mossop)

References

Details

Attachments

(1 file)

In bug 1474285 we need to know whether the currently running application is the default for the OS. On Firefox this just means calling nsIShellService.isDefaultBrowser, but that is browser specific and it would be nice to give other apps the option at this too. This bug adds a new interface in toolkit and implements it in browser only.

This also switches around a few preprocessor lines to make more sense.

Pushed by dtownsend@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/98859fd44b41
Add a toolkit level API for determining if this is the default instance of the application. r=mconley
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Assignee: nobody → dtownsend
You need to log in before you can comment on or make changes to this bug.