WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
111298
Web Inspector: allow each profiler panel to have own landing page
https://bugs.webkit.org/show_bug.cgi?id=111298
Summary
Web Inspector: allow each profiler panel to have own landing page
Alexei Filippov
Reported
2013-03-04 02:41:32 PST
Refactor profiler landing page to allow different profiler panels to have own landing pages.
Attachments
Patch
(21.25 KB, patch)
2013-03-04 02:46 PST
,
Alexei Filippov
no flags
Details
Formatted Diff
Diff
Patch
(21.17 KB, patch)
2013-03-04 09:30 PST
,
Alexei Filippov
no flags
Details
Formatted Diff
Diff
Patch
(19.80 KB, patch)
2013-03-05 01:26 PST
,
Alexei Filippov
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Alexei Filippov
Comment 1
2013-03-04 02:46:49 PST
Created
attachment 191185
[details]
Patch
Yury Semikhatsky
Comment 2
2013-03-04 08:35:51 PST
Comment on
attachment 191185
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=191185&action=review
> Source/WebCore/inspector/front-end/ProfileLauncherView.js:31 > +
Revert this?
> Source/WebCore/inspector/front-end/ProfileLauncherView.js:207 > + if (WebInspector.experimentsSettings.liveNativeMemoryChart.isEnabled()) {
I think we should instead hide the launcher along with corresponding panel when the profile type is disabled.
> Source/WebCore/inspector/front-end/ProfilesPanel.js:1347 > + WebInspector.SidebarTreeElement.call(this, "profile-launcher-view-tree-item", WebInspector.UIString("New Profile"), "", null, false);
Why did this change? Are you going to make it a button?
Alexei Filippov
Comment 3
2013-03-04 09:29:36 PST
Comment on
attachment 191185
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=191185&action=review
>> Source/WebCore/inspector/front-end/ProfileLauncherView.js:31 >> + > > Revert this?
ok
>> Source/WebCore/inspector/front-end/ProfileLauncherView.js:207 >> + if (WebInspector.experimentsSettings.liveNativeMemoryChart.isEnabled()) { > > I think we should instead hide the launcher along with corresponding panel when the profile type is disabled.
If it is disabled the panel won't be added to the list of available panels.
>> Source/WebCore/inspector/front-end/ProfilesPanel.js:1347 >> + WebInspector.SidebarTreeElement.call(this, "profile-launcher-view-tree-item", WebInspector.UIString("New Profile"), "", null, false); > > Why did this change? Are you going to make it a button?
No. I think this name is better describes the purpose of the landing page. Why it makes you think of a button? It does have a verb in the name.
Alexei Filippov
Comment 4
2013-03-04 09:30:04 PST
Created
attachment 191260
[details]
Patch
Alexei Filippov
Comment 5
2013-03-04 09:32:17 PST
(In reply to
comment #3
)
> No. I think this name is better describes the purpose of the landing page. Why it makes you think of a button? It does have a verb in the name.
It does *not* have a verb in the name.
Yury Semikhatsky
Comment 6
2013-03-04 22:35:55 PST
(In reply to
comment #5
)
> (In reply to
comment #3
) > > No. I think this name is better describes the purpose of the landing page. Why it makes you think of a button? It does have a verb in the name. > It does *not* have a verb in the name.
Can you attach a screenshot? As far as I understand it changes the title of profiles sidebar to "New Profile" which doesn't make sense to me unless you turn the title into a button that does the same as the "o" button in the status bar.
Alexei Filippov
Comment 7
2013-03-05 01:25:20 PST
(In reply to
comment #6
)
> (In reply to
comment #5
) > > (In reply to
comment #3
) > > > No. I think this name is better describes the purpose of the landing page. Why it makes you think of a button? It does have a verb in the name. > > It does *not* have a verb in the name. > > Can you attach a screenshot? As far as I understand it changes the title of profiles sidebar to "New Profile" which doesn't make sense to me unless you turn the title into a button that does the same as the "o" button in the status bar.
It is more like a "New tab" button in chromium. Anyway I reverted this change as it is not really related to the main patch.
Alexei Filippov
Comment 8
2013-03-05 01:26:54 PST
Created
attachment 191432
[details]
Patch
WebKit Review Bot
Comment 9
2013-03-05 06:00:16 PST
Comment on
attachment 191432
[details]
Patch Clearing flags on attachment: 191432 Committed
r144754
: <
http://trac.webkit.org/changeset/144754
>
WebKit Review Bot
Comment 10
2013-03-05 06:00:20 PST
All reviewed patches have been landed. Closing bug.
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