From e647971bdaedd960cb0f311623002e47d99f5fd1 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Thu, 14 Sep 2006 06:08:24 +0000 Subject: [PATCH] Bug 236552 Warning: assignment to undeclared variable searchURL in chrome://navigator/content/navigator.js r=neil sr=tor --- suite/browser/navigator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite/browser/navigator.js b/suite/browser/navigator.js index 4f682458dab..112f2131de8 100644 --- a/suite/browser/navigator.js +++ b/suite/browser/navigator.js @@ -1088,7 +1088,7 @@ function BrowserSearchInternet() // Get a search URL and guess that the front page of the site has a search form. var searchDS = Components.classes["@mozilla.org/rdf/datasource;1?name=internetsearch"] .getService(Components.interfaces.nsIInternetSearchService); - searchURL = searchDS.GetInternetSearchURL(searchEngineURI, "ABC", 0, 0, {value:0}); + var searchURL = searchDS.GetInternetSearchURL(searchEngineURI, "ABC", 0, 0, {value:0}); if (searchURL) { searchRoot = searchURL.match(/[a-z]+:\/\/[a-z.-]+/); if (searchRoot) {