Closed Bug 1749001 Opened 4 years ago Closed 4 years ago

Search start-up service intialization browser console error

Categories

(Firefox :: Address Bar, defect, P2)

defect
Points:
2

Tracking

()

VERIFIED FIXED
97 Branch
Iteration:
97.3 - Jan 3 - Jan 9
Tracking Status
firefox97 --- verified

People

(Reporter: muirpablo, Assigned: adw)

Details

Attachments

(4 files)

Environment
Ubuntu 20.04 affected
Windows 7 affected
MacOS 11 not affected
Windows10 not affected

Nightly 97 affected
Beta 96 affected
Release 96 affected

Steps
Create a new profile.
First startup
control+shift+J
fast type @ in the address bar

Actual Result

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:204:15
_getEngineDefault@resource://gre/modules/SearchService.jsm:2163:10
get defaultPrivateEngine@resource://gre/modules/SearchService.jsm:2303:17
_cacheL10nStrings@resource:///modules/UrlbarView.jsm:2177:9
onQueryStarted@resource:///modules/UrlbarView.jsm:590:10
notify@resource:///modules/UrlbarController.jsm:652:25
startQuery@resource:///modules/UrlbarController.jsm:133:10
startQuery@resource:///modules/UrlbarInput.jsm:1367:52
autoOpen@resource:///modules/UrlbarView.jsm:519:20
_on_mousedown@resource:///modules/UrlbarInput.jsm:2970:21
handleEvent@resource:///modules/UrlbarInput.jsm:425:23
SearchService.jsm:204:15
NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript 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:204:15
_getEngineDefault@resource://gre/modules/SearchService.jsm:2163:10
get defaultPrivateEngine@resource://gre/modules/SearchService.jsm:2303:17
_cacheL10nStrings@resource:///modules/UrlbarView.jsm:2177:9
onQueryStarted@resource:///modules/UrlbarView.jsm:590:10
notify@resource:///modules/UrlbarController.jsm:652:25
startQuery@resource:///modules/UrlbarController.jsm:133:10
startQuery@resource:///modules/UrlbarInput.jsm:1367:52
autoOpen@resource:///modules/UrlbarView.jsm:519:20
_on_mousedown@resource:///modules/UrlbarInput.jsm:2970:21
handleEvent@resource:///modules/UrlbarInput.jsm:425:23

expected
No errors

Attached file log-night.txt
Severity: -- → S4
Attached file log-release.txt
Attached file log-beta.txt

Clearing the severity until this gets triaged.

Severity: S4 → --

Drew, what are the implications of this bug?

Flags: needinfo?(adw)

It's harmless. It doesn't interfere with the search service or urlbar, and it will only be logged if you happen to type something in the urlbar very quickly after startup.

Assignee: nobody → adw
Severity: -- → S4
Status: NEW → ASSIGNED
Iteration: --- → 97.3 - Jan 3 - Jan 9
Points: --- → 2
Flags: needinfo?(adw)
Priority: -- → P2
Pushed by dwillcoxon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b84785d9aeb8 Don't cache search-service-related strings if the service isn't initialized. r=harry
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch

verified fix on windows10, ubuntu 20 and windows7 using latest nightly version

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: