зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1488908 - QI the elements of nsIGIOservice.getAppsForURIScheme() to nsIHandlerApp. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D5886 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
7637c6c2a1
Коммит
b0cda0adbe
|
@ -1738,7 +1738,7 @@ var gMainPane = {
|
|||
getService(Ci.nsIGIOService);
|
||||
var gioApps = gIOSvc.getAppsForURIScheme(handlerInfo.type);
|
||||
let possibleHandlers = handlerInfo.possibleApplicationHandlers;
|
||||
for (let handler of gioApps.enumerate()) {
|
||||
for (let handler of gioApps.enumerate(Ci.nsIHandlerApp)) {
|
||||
// OS handler share the same name, it's most likely the same app, skipping...
|
||||
if (handler.name == handlerInfo.defaultDescription) {
|
||||
continue;
|
||||
|
|
Загрузка…
Ссылка в новой задаче