Bug 1068501 - autocomplete.xml: ReferenceError: assignment to undeclared variable searchEngine. r=mak

--HG--
extra : transplant_source : 9%F7%1FJK%12%BF%80%18%5C%B8%AB%EA%07%F0%F8K%7Bw%B1
This commit is contained in:
Blair McBride 2014-09-17 19:40:45 +12:00
parent 317b780677
commit 67eb7b4d9e

View File

@ -1489,6 +1489,7 @@ extends="chrome://global/content/bindings/popup.xml#popup">
const TITLE_SEARCH_ENGINE_SEPARATOR = " \u00B7\u2013\u00B7 ";
let searchEngine = "";
[title, searchEngine] = title.split(TITLE_SEARCH_ENGINE_SEPARATOR);
url = this._stringBundle.formatStringFromName("searchWithEngine", [searchEngine], 1);