зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1823376 - Return early after calling launchWithURI without prompt. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D172997
This commit is contained in:
Родитель
c2a9cc3dc2
Коммит
615b7caa03
|
@ -74,6 +74,7 @@ export class nsContentDispatchChooser {
|
||||||
) {
|
) {
|
||||||
try {
|
try {
|
||||||
aHandler.launchWithURI(aURI, aBrowsingContext);
|
aHandler.launchWithURI(aURI, aBrowsingContext);
|
||||||
|
return;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// We are not supposed to ask, but when file not found the user most likely
|
// We are not supposed to ask, but when file not found the user most likely
|
||||||
// uninstalled the application which handles the uri so we will continue
|
// uninstalled the application which handles the uri so we will continue
|
||||||
|
|
Загрузка…
Ссылка в новой задаче