UrlbarUtils calls Services.search synchronously

RESOLVED FIXED in Firefox 68

Status

()

defect
RESOLVED FIXED
3 months ago
3 months ago

People

(Reporter: daleharvey, Assigned: daleharvey)

Tracking

unspecified
Firefox 68
Points:
---

Firefox Tracking Flags

(firefox68 fixed)

Details

Attachments

(1 attachment)

JavaScript error: resource://gre/modules/SearchService.jsm, line 2701: Error: Something tried to use the search service before it's been properly intialized. Please examine the stack trace to figure out what and where to fix it:
_ensureInitialized@resource://gre/modules/SearchService.jsm:2701:15
getEngineByAlias@resource://gre/modules/SearchService.jsm:3926:10
getShortcutOrURIAndPostData@resource:///modules/UrlbarUtils.jsm:170:34
handleCommand@chrome://browser/content/urlbarBindings.xml:811:27
anonymous@chrome://global/content/bindings/autocomplete.xml line 369 > Function:3:6
onTextEntered@chrome://global/content/bindings/autocomplete.xml:228:23
handleEnter@chrome://browser/content/urlbarBindings.xml:1569:42
handleKeyPress@chrome://global/content/bindings/autocomplete.xml:463:29
onKeyPress@chrome://browser/content/urlbarBindings.xml:355:23
onxblkeypress@chrome://global/content/bindings/autocomplete.xml:589:13

Assignee: nobody → dharvey
Pushed by dharvey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f8d2d0443893
Ensure SearchService has started. r=mikedeboer
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
You need to log in before you can comment on or make changes to this bug.