Closed Bug 587760 Opened 14 years ago Closed 14 years ago

Find a better way to not block the main thread in the Style panel

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: msucan, Assigned: jwalker)

References

Details

(Whiteboard: [Web-Console-Testday])

When we show the title of each property we go through all of the style sheets and we count the rules that have the given property. That is quite slow and it blocks the main thread. Currently for each property we schedule the execution with a delay of a few milliseconds (100, setTimeout!), to not block the main thread. We need to find a better way to not block the main thread.
No strings, so this will come in a later beta. I agree that we either need to make this fast enough to not matter or get it off the main thread.
Whiteboard: [kd4b6]
Assignee: nobody → jwalker
Depends on: 582596
This bug should now be fixed by the patch in bug 589849 - if Joe confirms, of course.
Severity: normal → blocker
Removing items from kd4b6.
Whiteboard: [kd4b6]
Reprioritizing bugs. You can filter the mail on the word TEABAGS.
Severity: blocker → normal
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Whiteboard: [Web-Console-Testday]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.