Bug 236552 Warning: assignment to undeclared variable searchURL in chrome://navigator/content/navigator.js

r=neil sr=tor
This commit is contained in:
timeless%mozdev.org 2006-09-14 06:08:24 +00:00
Родитель 3e9aaf304f
Коммит e647971bda
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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