slow timeout handlers in search.xml delay startup

RESOLVED FIXED

Status

()

Firefox
Search
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: (dormant account), Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [Snappy])

(Reporter)

Description

5 years ago
While working on bug 744470, noticed we have timeout activity before we paint the browser. They take up to 100ms on my slower laptop:
chrome://browser/content/search/search.xml:66 timeout took 3ms firstpaint:0
chrome://browser/content/search/search.xml:514 timeout took 11ms firstpaint:0
I think these are http://mxr.mozilla.org/mozilla-central/source/browser/components/search/content/search.xml#108 and http://mxr.mozilla.org/mozilla-central/source/browser/components/search/content/search.xml#556
(Reporter)

Comment 1

5 years ago
A hacky way to fix stuff like this is to use mozrequestanimation frame
Depends on: 760035
fixed by bug 760035
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.