Commit 13ff287a authored by Dale Harvey's avatar Dale Harvey
Browse files

Bug 1548141 - Ensure SearchService has started. r=mikedeboer

Differential Revision: https://phabricator.services.mozilla.com/D29430

--HG--
extra : moz-landing-system : lando
parent b54e31ab
......@@ -167,6 +167,7 @@ var UrlbarUtils = {
return { url, postData, mayInheritPrincipal };
}
await Services.search.init();
let engine = Services.search.getEngineByAlias(keyword);
if (engine) {
let submission = engine.getSubmission(param, null, "keyword");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment