Open Bug 1416498 Opened 7 years ago Updated 2 years ago

Clean up the clean up code in photonpanelmultiview

Categories

(Firefox :: Toolbars and Customization, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox57 --- wontfix
firefox58 --- wontfix
firefox59 --- fix-optional

People

(Reporter: Paolo, Unassigned)

Details

The asynchronous description height workaround in bug 1392340 is the correct approach to avoid synchronous reflows when opening subviews. Unfortunately, this causes some existing race conditions to occur, in particular because several tests do not wait for a subview to be fully shown or the panel to be fully closed. It is difficult to determine which tests cause these race conditions, as they may often occur in later tests rather than the test with the issue. They may theoretically also happen during normal usage. To solve this, the transition clean up code should be made more robust, and possibly non-reentrant. This may require a safety timeout to prevent deadlocks while waiting for subview opening events.
Blocks: 1420939
No longer blocks: 1392340
No longer blocks: 1420939
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.