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

RESOLVED FIXED in Firefox 42

Status

defect
RESOLVED FIXED
4 years ago
Last year

People

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

Tracking

unspecified
Firefox 42
Points:
---

Firefox Tracking Flags

(firefox42 fixed)

Details

Attachments

(2 attachments)

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+
https://hg.mozilla.org/mozilla-central/rev/401b8c51f0ed
https://hg.mozilla.org/mozilla-central/rev/f027369b116a
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.