Bug 97677 - Web Inspector: display stack of last layout invalidation instead of first one
Summary: Web Inspector: display stack of last layout invalidation instead of first one
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Andrey Kosyakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-26 06:46 PDT by Andrey Kosyakov
Modified: 2012-09-26 08:04 PDT (History)
10 users (show)

See Also:


Attachments
Patch (2.75 KB, patch)
2012-09-26 06:59 PDT, Andrey Kosyakov
vsevik: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Kosyakov 2012-09-26 06:46:12 PDT
Inspector's timeline agent used to send only first layout invalidation to front-end, so we displayed first JS stack as the reason for re-layout. It's probably more useful to display the last one, as the scope of layout is expanded, hence the last one has a good chances to be the one with larger impact. Ultimately, we should probably aggregate these and find a way to visualize many stacks.
Comment 1 Andrey Kosyakov 2012-09-26 06:59:04 PDT
Created attachment 165793 [details]
Patch
Comment 2 Andrey Kosyakov 2012-09-26 08:04:43 PDT
Committed r129645: <http://trac.webkit.org/changeset/129645>