Open
Bug 1839724
Opened 3 years ago
Updated 3 years ago
Consider removing afterTabSwitchFocusChange
Categories
(Firefox :: Address Bar, task, P2)
Firefox
Address Bar
Tracking
()
NEW
People
(Reporter: jteow, Unassigned)
References
Details
(Whiteboard: [sng-scrubbed][search-tech-debt])
Attachments
(1 file)
|
3.57 KB,
patch
|
Details | Diff | Splinter Review |
Currently, the Urlbar keeps two internal properties (this._gotFocusChange and this._gotTabSelect) that guard against calling autoOpen until the two properties are true. This requires keeping them in sync with one another.
If one is left true while the other is not, the boolean value will persist until both are true, which can cause unintended behaviour as found with Bug 1781806.
:mak has started a WIP sketch of how this could work whereby the logic is completely contained within _on_TabSelect, removing the need for afterTabSwitchFocusChange.
Updated•3 years ago
|
Assignee: mak → nobody
Updated•3 years ago
|
Whiteboard: [sng-scrubbed][search-tech-debt]
Updated•3 years ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SNG-775
You need to log in
before you can comment on or make changes to this bug.
Description
•