Closed
Bug 1672146
Opened 5 years ago
Closed 5 years ago
UrlbarProviderSearchTips should deal with update manager not existing
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
People
(Reporter: Gijs, Assigned: adw)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
On distro builds on Linux, there is no update manager, so I see:
Cc[aContract] is undefined XPCOMUtils.jsm:144
XPCU_serviceLambda resource://gre/modules/XPCOMUtils.jsm:144
get resource://gre/modules/XPCOMUtils.jsm:58
lastBrowserUpdateDate resource:///modules/UrlbarProviderSearchTips.jsm:496
_maybeShowTipForUrl resource:///modules/UrlbarProviderSearchTips.jsm:361
InterpretGeneratorResume self-hosted:1468
AsyncFunctionNext self-hosted:674
on release. AFAICT this code is all still there on nightly.
It should probably check AppConstants.MOZ_UPDATER
or something.
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Has Regression Range: --- → yes
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → adw
Status: NEW → ASSIGNED
Iteration: --- → 84.1 - Oct 19 - Nov 01
Assignee | ||
Comment 1•5 years ago
|
||
In the bug, Gijs suggests checking AppConstants.MOZ_UPDATER
, but the stack
shows that Cc[aContract]
isn't defined, so it seems better to check for that
instead.
I'm not sure how or whether it's even possible to write a test where there's no
updater, so I haven't added one, and in the case where there is an updater,
that's covered by our existing tests of course.
Pushed by dwillcoxon@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f03b9e19229e
Make UrlbarProviderSearchTips deal with the update manager not existing. r=harry
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
Updated•5 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•