Bug 341981: fix bogus array use that may result in a "engine has no properties" error at startup, patch by Simon Bünzli <zeniko@gmail.com>, r=me
git-svn-id: svn://10.0.0.236/trunk@200804 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2013,7 +2013,7 @@ SearchService.prototype = {
|
||||
|
||||
_buildSortedEngineList: function SRCH_SVC_buildSortedEngineList() {
|
||||
var addedEngines = { };
|
||||
this._sortedEngines = new Array(this._engines.length);
|
||||
this._sortedEngines = [];
|
||||
var engine;
|
||||
|
||||
for each (engine in this._engines) {
|
||||
|
||||
Reference in New Issue
Block a user