Bug 81245

Summary: Web Inspector: crash in InspectorTimelineAgent when trying to add children to cancelable records
Product: WebKit Reporter: Andrey Kosyakov <caseq>
Component: Web Inspector (Deprecated)Assignee: Andrey Kosyakov <caseq>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch vsevik: review+

Description Andrey Kosyakov 2012-03-15 11:32:23 PDT
Cancelable records are not expected to have children, since they may be cancelled. pushGCEventRecords() used to indirectly add children to cancelable records by invoking addRecordToTimeline().
We should always commit cancelable records before trying to add children.
Comment 1 Andrey Kosyakov 2012-03-15 11:58:09 PDT
Created attachment 132096 [details]
Patch
Comment 2 Andrey Kosyakov 2012-03-15 12:30:52 PDT
Committed r110872: <http://trac.webkit.org/changeset/110872>