Closed Bug 1187578 Opened 9 years ago Closed 9 years ago

Infinite (async) loop when creating breadcrumbs for parent with > 10 LOW_PRIORITY_ELEMENTS children

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(firefox42 fixed)

RESOLVED FIXED
Firefox 42
Tracking Status
firefox42 --- fixed

People

(Reporter: simon.lindholm10, Assigned: simon.lindholm10)

Details

Attachments

(2 files)

STR:
1. visit http://xkcd.com, open the inspector
2. select the <head> element

-> CPU usage becomes ~100%, and the extra breadcrumb next to "head" never appears.
Summary: Infinite (async) loop when creating breadcrumbs → Infinite (async) loop when creating breadcrumbs for parent with > 10 LOW_PRIORITY_ELEMENTS children
Comment on attachment 8638900 [details] [diff] [review]
0001-Bug-1187578-Avoid-infinite-loop-when-creating-breadc.patch

Review of attachment 8638900 [details] [diff] [review]:
-----------------------------------------------------------------

Good catch, thanks.  I have a regression test incoming
Attachment #8638900 - Flags: review?(bgrinstead) → review+
Simple regression test for this bug
Attachment #8639354 - Flags: review+
Status: NEW → ASSIGNED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: