Closed
Bug 1441902
Opened 8 years ago
Closed 8 years ago
Consider running preActions and postActions for requestTab
Categories
(Firefox :: Tabbed Browser, enhancement)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
INVALID
People
(Reporter: mconley, Unassigned)
References
(Blocks 1 open bug)
Details
We run preActions and postActions for updating async tab switcher state every time we service events in the handleEvent function. The idea is that the tab switcher internal state is often impacted by events, and so that's a perfect time to update that state, and to reflect that state to the user if needs be, visually.
We don't, it seems, update state surrounding requestTab, and I find that strange. This means that if the tab that we're requesting is STATE_LOADED, then we have to wait for the next event we service (probably a MozAfterPaint?) to update the displayed tab. That seems strange.
Maybe we can run preActions and postActions before and after requestTab, respectively.
Comment 1•8 years ago
|
||
I'm a bit confused - are you accounting for the preActions and postActions that get run in requestTab through suppressDisplayPortAndQueueUnload?
| Reporter | ||
Comment 2•8 years ago
|
||
(In reply to Doug Thayer [:dthayer] from comment #1)
> I'm a bit confused - are you accounting for the preActions and postActions
> that get run in requestTab through suppressDisplayPortAndQueueUnload?
Ah, I'd missed that they were being called there. Thanks!
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•