forked from mirrors/gecko-dev
Bug 1897508 - Fix ESLint no-case-declarations warnings in SearchEngine.sys.mjs. r=search-reviewers,jteow.
Differential Revision: https://phabricator.services.mozilla.com/D210837
This commit is contained in:
parent
4bbdd05fd0
commit
0600e5f0d8
1 changed files with 2 additions and 1 deletions
|
|
@ -757,7 +757,7 @@ export class SearchEngine {
|
|||
}
|
||||
break;
|
||||
case "http":
|
||||
case "https":
|
||||
case "https": {
|
||||
let iconLoadCallback = function (byteArray, contentType) {
|
||||
// This callback may run after we've already set a preferred icon,
|
||||
// so check again.
|
||||
|
|
@ -816,6 +816,7 @@ export class SearchEngine {
|
|||
chan.notificationCallbacks = listener;
|
||||
chan.asyncOpen(listener);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue