mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Backout bug 522842 (2858cd90d03)
This commit is contained in:
parent
335b9d7446
commit
6179f28581
@ -717,12 +717,9 @@ function getMozParamPref(prefName)
|
||||
*
|
||||
* @see nsIBrowserSearchService.idl
|
||||
*/
|
||||
let gEnginesLoaded = false;
|
||||
function notifyAction(aEngine, aVerb) {
|
||||
if (gEnginesLoaded) {
|
||||
LOG("NOTIFY: Engine: \"" + aEngine.name + "\"; Verb: \"" + aVerb + "\"");
|
||||
gObsSvc.notifyObservers(aEngine, SEARCH_ENGINE_TOPIC, aVerb);
|
||||
}
|
||||
LOG("NOTIFY: Engine: \"" + aEngine.name + "\"; Verb: \"" + aVerb + "\"");
|
||||
gObsSvc.notifyObservers(aEngine, SEARCH_ENGINE_TOPIC, aVerb);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -2637,8 +2634,6 @@ SearchService.prototype = {
|
||||
|
||||
for each (let dir in cache.directories)
|
||||
this._loadEnginesFromCache(dir);
|
||||
|
||||
gEnginesLoaded = true;
|
||||
},
|
||||
|
||||
_readCacheFile: function SRCH_SVC__readCacheFile(aFile) {
|
||||
|
Loading…
Reference in New Issue
Block a user