Closed Bug 1548141 Opened 2 years ago Closed 2 years ago

UrlbarUtils calls Services.search synchronously

Categories

(Firefox :: Search, defect)

defect
Not set
normal
Points:
1

Tracking

()

RESOLVED FIXED
Firefox 68
Iteration:
68.4 - Apr 29 - May 12
Tracking Status
firefox68 --- fixed

People

(Reporter: daleharvey, Assigned: daleharvey)

Details

Attachments

(1 file)

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: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
Iteration: --- → 68.4 - Apr 29 - May 12
Points: --- → 1
You need to log in before you can comment on or make changes to this bug.