Open
Bug 1359790
Opened 8 years ago
Updated 2 years ago
Some code in _customizationEnding doesn't run
Categories
(Firefox :: Toolbars and Customization, enhancement)
Firefox
Toolbars and Customization
Tracking
()
NEW
People
(Reporter: enndeakin, Unassigned)
References
Details
Attachments
(1 obsolete file)
Open the toolbar customization window and move a button somewhere and choose 'Exit Customization'.
The code in browser-customization.js _customizationEnding has the line:
if (aDetails.changed) {
...
}
aDetails is an object, but aDetails.changed is undefined, so some state updating doesn't happen.
This is affecting the test in bug 1356587.
Comment 1•8 years ago
|
||
Oof yes, we should just get rid of this stuff:
http://searchfox.org/mozilla-central/rev/3dc6ceb42746ab40f1441e1e659ffb8f62ae78e3/browser/base/content/browser-customization.js#60-77
Comment hidden (mozreview-request) |
Updated•8 years ago
|
Attachment #8863454 -
Flags: review?(enndeakin)
Updated•8 years ago
|
Assignee: nobody → mconley
Reporter | ||
Comment 3•8 years ago
|
||
The reason I filed this bug (found with bug 1356587) is that we want updateEditUIVisibility() to be called when you exit customization mode because the edit button visibility may have changed now that you moved the buttons somewhere else.
Comment 4•8 years ago
|
||
(In reply to Neil Deakin from comment #3)
> The reason I filed this bug (found with bug 1356587) is that we want
> updateEditUIVisibility() to be called when you exit customization mode
> because the edit button visibility may have changed now that you moved the
> buttons somewhere else.
I see - would you rather take over this bug?
Flags: needinfo?(enndeakin)
Reporter | ||
Comment 5•8 years ago
|
||
I'm not really familiar with this code. Is there something else that replaces what it should be doing?
Flags: needinfo?(enndeakin)
Reporter | ||
Updated•8 years ago
|
Attachment #8863454 -
Flags: review?(enndeakin)
Updated•8 years ago
|
Flags: needinfo?(mconley)
Updated•8 years ago
|
Attachment #8863454 -
Attachment is obsolete: true
Flags: needinfo?(mconley)
Updated•8 years ago
|
Assignee: mconley → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•