mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1643673 - Guard against a null default application. r=tkikuchi
Differential Revision: https://phabricator.services.mozilla.com/D78551
This commit is contained in:
parent
d9df44ffe5
commit
ce7a61e0dc
@ -94,7 +94,8 @@ nsMIMEInfoWin::LaunchWithFile(nsIFile* aFile) {
|
||||
"nsMIMEInfoBase should have mClass == eMIMEInfo");
|
||||
|
||||
if (mPreferredAction == useSystemDefault) {
|
||||
if (StaticPrefs::browser_pdf_launchDefaultEdgeAsApp()) {
|
||||
if (mDefaultApplication &&
|
||||
StaticPrefs::browser_pdf_launchDefaultEdgeAsApp()) {
|
||||
// Since Edgium is the default PDF handler, if we're using the OS default
|
||||
// and it's Edgium prefer it's app mode so it operates as a PDF viewer
|
||||
// (without browser toolbars). Bug 1632277.
|
||||
|
Loading…
Reference in New Issue
Block a user