Add the possibility to set Firefox as the default pdf handler on Mac OS
Categories
(Firefox :: PDF Viewer, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: calixte, Assigned: calixte)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
It's already possible to do it on Windows and it can be done in about:pdf and we'd like to have the same feature on Mac OS.
According to :hsohaney, we could use:
https://developer.apple.com/documentation/appkit/nsworkspace/setdefaultapplication(at:toopencontenttypeoffileat:completion:)
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
On macOS this goes through NSWorkspace's setDefaultApplication API (macOS 12+) and resolves once the OS consent prompt completes. Adds the supporting isDefaultHandlerFor and canSetAsDefaultPDFHandler members and records the set_default_pdf_handler_attempt telemetry on macOS.
| Assignee | ||
Comment 2•2 months ago
|
||
Enable the about:pdf set-as-default-PDF-handler promo on macOS and hide it once Firefox becomes the default.
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3a57fc5aab45
https://hg.mozilla.org/mozilla-central/rev/65df739287cb
Comment 5•2 months ago
|
||
:calixte did you want to include this in the 154 release notes? Please nominate if so
Updated•1 month ago
|
| Assignee | ||
Updated•26 days ago
|
Description
•