Open
Bug 2004503
Opened 8 months ago
Updated 4 days ago
Wait for SettingPane to be initialized before loading it
Categories
(Firefox :: Settings UI, task, P2)
Firefox
Settings UI
Tracking
()
NEW
People
(Reporter: mstriemer, Assigned: mstriemer)
References
(Blocks 1 open bug)
Details
In bug 2002958 we were having some trouble getting the test to work, which may have identified a potential issue in SettingPane. The paneshown event was firing before the setting pane was loaded since we were using SettingPaneManager.registerPane() after the findInPage.js file had already forced initialization of the categories.
We call the init() function before we show a pane, but since that function is async it may not have loaded before we actually show the pane. When the test code was running in this state its checkbox didn't exist and we couldn't check that it got focused.
Update the category initialization code to make sure a category has rendered before we fire the paneshown event
You need to log in
before you can comment on or make changes to this bug.
Description
•