Closed
Bug 1358881
Opened 8 years ago
Closed 8 years ago
uninterruptible reflow at attach/<@resource:///modules/ExtensionPopups.jsm:481:7
Categories
(WebExtensions :: Frontend, enhancement)
WebExtensions
Frontend
Tracking
(Performance Impact:?)
RESOLVED
WONTFIX
Performance Impact | ? |
People
(Reporter: florian, Unassigned)
References
Details
(Whiteboard: [ohnoreflow])
Here's the stack:
attach/<@resource:///modules/ExtensionPopups.jsm:481:7
TaskImpl_run@resource://gre/modules/Task.jsm:319:42
Reporter | ||
Comment 1•8 years ago
|
||
The sync reflows is caused at http://searchfox.org/mozilla-central/rev/f225dbcb15ca2e38f7d434a9278a41d2340e7cf3/browser/components/extensions/ExtensionPopups.jsm#481 by
// Store the initial height of the view, so that we never resize menu panel
// sub-views smaller than the initial height of the menu.
this.viewHeight = this.viewNode.boxObject.height;
But there's also a getBoundingClientRect call 3 lines later.
Component: Untriaged → WebExtensions: General
Product: Firefox → Toolkit
Comment 2•8 years ago
|
||
We need this geometry information at this point, so there's not much we can do to fix this.
In any case, this UI is going away in photon, so the problem will go away on its own soon enough.
Status: NEW → RESOLVED
Closed: 8 years ago
Component: WebExtensions: General → WebExtensions: Frontend
Depends on: 1354109
Resolution: --- → WONTFIX
Updated•8 years ago
|
No longer blocks: photon-performance-triage
Priority: P3 → --
Whiteboard: [ohnoreflow][qf][photon-performance] → [ohnoreflow][qf]
Comment 3•8 years ago
|
||
(In reply to Kris Maglione [:kmag] from comment #2)
> We need this geometry information at this point, so there's not much we can
> do to fix this.
>
> In any case, this UI is going away in photon, so the problem will go away on
> its own soon enough.
Wouldn't we have the same problem with the overflow menu?
Flags: needinfo?(kmaglione+bmo)
Comment 4•8 years ago
|
||
The overflow menu can shrink when we show the panel, so we won't need geometry information at that point after we move out of the panelUI menu.
Flags: needinfo?(kmaglione+bmo)
Updated•7 years ago
|
Product: Toolkit → WebExtensions
Updated•3 years ago
|
Performance Impact: --- → ?
Whiteboard: [ohnoreflow][qf] → [ohnoreflow]
You need to log in
before you can comment on or make changes to this bug.
Description
•