Bug 145089
Summary: | Web Inspector: TimelineAgent needs to handle nested runloops | ||
---|---|---|---|
Product: | WebKit | Reporter: | Matt Baker <mattbaker> |
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Matt Baker
* SUMMARY
TimelineAgent needs to handle nested runloops.
Pausing script execution in the Web Inspector starts a nested runloop, which causes the TimelineAgent to pop the current rendering frame record before the outer runloop completes. We should track the runloop nesting level, and only push/pop rendering frame records when the stack depth is zero.
* STEPS TO REPRODUCE
Run the following inspector test: LayoutTests/inspector/timeline/debugger-paused-while-recording.html
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/20986377>
Matt Baker
*** This bug has been marked as a duplicate of bug 145090 ***