WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
75228
Web Inspector: Introduce a Profiler launcher view similar to that in the Audits panel
https://bugs.webkit.org/show_bug.cgi?id=75228
Summary
Web Inspector: Introduce a Profiler launcher view similar to that in the Audi...
Alexander Pavlov (apavlov)
Reported
2011-12-26 07:32:13 PST
The current approach does not scale w.r.t. the number of different profile types ("Record" buttons.)
Attachments
Patch
(35.31 KB, patch)
2011-12-27 09:32 PST
,
Alexander Pavlov (apavlov)
no flags
Details
Formatted Diff
Diff
Patch
(46.85 KB, patch)
2011-12-28 05:20 PST
,
Alexander Pavlov (apavlov)
no flags
Details
Formatted Diff
Diff
Patch
(46.13 KB, patch)
2011-12-28 06:40 PST
,
Alexander Pavlov (apavlov)
pfeldman
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Alexander Pavlov (apavlov)
Comment 1
2011-12-27 09:32:55 PST
Created
attachment 120593
[details]
Patch
Pavel Feldman
Comment 2
2011-12-28 02:21:39 PST
Comment on
attachment 120593
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=120593&action=review
Please remove welcome screen.
> Source/WebCore/inspector/front-end/profilesPanel.css:150 > +.profile-launcher-view-content {
Please reuse this style.
Alexander Pavlov (apavlov)
Comment 3
2011-12-28 05:20:43 PST
Created
attachment 120656
[details]
Patch
Pavel Feldman
Comment 4
2011-12-28 06:01:15 PST
Comment on
attachment 120656
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=120656&action=review
> Source/WebCore/inspector/front-end/ProfileLauncherView.js:87 > + this.dispatchEventToListeners(WebInspector.ProfileLauncherView.EventTypes.ProfileTypeSelected, { profileType: profileType });
Why not to pass profileType as an event data instead?
> Source/WebCore/inspector/front-end/ProfilesPanel.js:280 > + // Retain the profile type registration order in the tree, too.
I don't think you need this logic.
> Source/WebCore/inspector/front-end/ProfilesPanel.js:1032 > + onattach: function()
Why do you need this override?
> Source/WebCore/inspector/front-end/ProfilesPanel.js:1049 > + this.refreshTitles();
Where is this defined? Why doesn't it work be default?
Alexander Pavlov (apavlov)
Comment 5
2011-12-28 06:40:42 PST
Created
attachment 120664
[details]
Patch
Alexander Pavlov (apavlov)
Comment 6
2011-12-28 07:25:23 PST
Committed
r103765
: <
http://trac.webkit.org/changeset/103765
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug