зеркало из https://github.com/mozilla/gecko-dev.git
Bug 940446: Log a variable that's guaranteed to exist, so we don't throw an exception from the exception handler and break the URL bar and search bar. r=smacleod
This commit is contained in:
Родитель
a72d594dd7
Коммит
b9bfaa7462
|
@ -3408,7 +3408,7 @@ SearchService.prototype = {
|
|||
addedEngine = new Engine(file, SEARCH_DATA_XML, !isWritable);
|
||||
yield checkForSyncCompletion(addedEngine._asyncInitFromFile());
|
||||
} catch (ex if ex.result != Cr.NS_ERROR_ALREADY_INITIALIZED) {
|
||||
LOG("_asyncLoadEnginesFromDir: Failed to load " + file.path + "!\n" + ex);
|
||||
LOG("_asyncLoadEnginesFromDir: Failed to load " + osfile.path + "!\n" + ex);
|
||||
continue;
|
||||
}
|
||||
engines.push(addedEngine);
|
||||
|
|
Загрузка…
Ссылка в новой задаче