Closed Bug 1761504 Opened 2 years ago Closed 2 years ago

Extend `setDefaultPDFHandler` Nimbus feature to respect user-changed PDF handlers

Categories

(Firefox :: Installer, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: nalexander, Assigned: nalexander)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidedi-pdf])

Attachments

(1 file)

This ticket tracks making the setDefaultPDFHandler Nimbus feature added by Bug 1743914 accommodate user-changed PDF handlers, by which we mean PDF handlers that are not other browsers. We're trying to avoid a "split brain" situation where a user wants Firefox as their default browser but ends up back in Edge after opening a PDF. We also want to be "respectful": we want to avoid taking the handler position from user's who've changed from the default handler (Edge), say to Adobe Reader or Nitro PDF. See also https://bugzilla.mozilla.org/show_bug.cgi?id=1743914#c5.

Technically, I expect we'll layer on another Nimbus feature, on by default, to control whether to check for a browser as the existing PDF default handler and to set Firefox as the default PDF handler only that is the case.

No longer blocks: fidedi-pdf

When enabled, this feature restricts the existing
setDefaultPDFHandler Nimbus feature to only set Firefox as the
default PDF handler when the existing handler is a known browser.

Depends on D142147

Pushed by nalexander@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/219c9f4056b0
Add `setDefaultPDFHandlerOnlyReplaceBrowsers` Nimbus feature. r=bhearsum
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
Depends on: 1762100
No longer depends on: 1762100
Blocks: 1805509
You need to log in before you can comment on or make changes to this bug.