Closed
Bug 1719754
Opened 4 years ago
Closed 4 years ago
BrowserGlue fxa login status code fails if fxa button isn't in the toolbox
Categories
(Firefox :: Toolbars and Customization, defect)
Tracking
()
RESOLVED
FIXED
92 Branch
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox89 | --- | wontfix |
firefox90 | --- | wontfix |
firefox91 | --- | wontfix |
firefox92 | --- | fixed |
People
(Reporter: Gijs, Assigned: molly)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [proton-cleanups])
Attachments
(1 file)
Spotted in the log output in bug 1719175.
_updateFxaBadges(win) {
let fxaButton = win.document.getElementById("fxa-toolbar-menu-button");
let badge = fxaButton.querySelector(".toolbarbutton-badge");
...
}
produces:
TypeError: fxaButton is null
if the button is customized.
We should be nullchecking fxaButton
before using it in this method, because the adding/clearing of the notifications should still work on the app menu if the fxa button is not present.
Emma or Molly, are you in a position to work on this?
Flags: needinfo?(mhowell)
Updated•4 years ago
|
Updated•4 years ago
|
Keywords: regression
Assignee | ||
Updated•4 years ago
|
Assignee: nobody → mhowell
Status: NEW → ASSIGNED
Flags: needinfo?(mhowell)
Assignee | ||
Comment 1•4 years ago
|
||
Pushed by mhowell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9bbaeeac0206
Don't fail to update the FxA badge status when the toolbar icon doesn't exist at all. r=emalysz
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox92:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
Updated•4 years ago
|
Points: --- → 1
Comment 4•4 years ago
|
||
The patch landed in nightly and beta is affected.
:mhowell, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Flags: needinfo?(mhowell)
Assignee | ||
Comment 5•4 years ago
|
||
I don't feel like this one really needs an uplift.
Flags: needinfo?(mhowell)
Updated•4 years ago
|
status-firefox-esr78:
--- → unaffected
Updated•4 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•