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:
gavin%gavinsharp.com
2006-06-24 13:48:19 +00:00
parent 53476811b7
commit 9b387cc25a

View File

@@ -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) {