Closed Bug 1392815 Opened 7 years ago Closed 7 years ago

Avoid re-entry in async tab switcher's onUnloadTimeout

Categories

(Firefox :: Tabbed Browser, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1385453

People

(Reporter: mconley, Assigned: mconley)

References

Details

In bug 1385453, I landed a patch that makes it so that postActions can call into onUnloadTimeout synchronously. onUnloadTimeout itself calls into postActions, so there's some re-entrancy here. It'd be better if we could avoid this by factoring out most onUnloadTimeout into a helper function. Then, onUnloadTimeout can run preActions / helper / postActions, and postActions can just call the helper without causing re-entry.
Assignee: nobody → mconley
Turns out I'm just fixing this in bug 1385453.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.