зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1643673 - Guard against a null default application. r=tkikuchi
Differential Revision: https://phabricator.services.mozilla.com/D78551
This commit is contained in:
Родитель
d9df44ffe5
Коммит
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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче