WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
54670
Web Inspector: merge ConsoleView into ConsolePanel.
https://bugs.webkit.org/show_bug.cgi?id=54670
Summary
Web Inspector: merge ConsoleView into ConsolePanel.
Pavel Podivilov
Reported
2011-02-17 09:47:19 PST
Web Inspector: merge ConsoleView into ConsolePanel. ConsolePanel is ConsoleView shown in a fully opened drawer. We can easily merge this classes together so ConsoleView can reuse Panel functionality. This is needed to implement snippet editor as sidebar pane in console panel.
Attachments
Patch.
(100.07 KB, patch)
2011-02-17 09:49 PST
,
Pavel Podivilov
pfeldman
: review-
Details
Formatted Diff
Diff
Diff between old ConsoleView and new ConsolePanel
(4.22 KB, patch)
2011-02-17 09:50 PST
,
Pavel Podivilov
no flags
Details
Formatted Diff
Diff
Patch.
(10.26 KB, patch)
2011-04-29 05:09 PDT
,
Pavel Podivilov
no flags
Details
Formatted Diff
Diff
Patch.
(11.57 KB, patch)
2011-05-04 07:25 PDT
,
Pavel Podivilov
yurys
: review+
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Pavel Podivilov
Comment 1
2011-02-17 09:49:23 PST
Created
attachment 82824
[details]
Patch. - Add ConsoleView functions to ConsolePanel - ConsoleView class - Rename ConsoleView.js to ConsoleMessage.js
Pavel Podivilov
Comment 2
2011-02-17 09:50:59 PST
Created
attachment 82825
[details]
Diff between old ConsoleView and new ConsolePanel
Pavel Feldman
Comment 3
2011-02-17 09:52:45 PST
Comment on
attachment 82824
[details]
Patch. Please provide diff with git config [diff] renames = copies
Pavel Podivilov
Comment 4
2011-04-29 05:09:40 PDT
Created
attachment 91666
[details]
Patch. No moves/renames, just make ConsoleView a panel.
Yury Semikhatsky
Comment 5
2011-05-04 04:57:08 PDT
Comment on
attachment 91666
[details]
Patch. View in context:
https://bugs.webkit.org/attachment.cgi?id=91666&action=review
> Source/WebCore/ChangeLog:7 > +
Please give a brief description of the changes made. It's not clear in particular how conversion of ConsoleView into a panel helps us to add implement snippet editor.
> Source/WebCore/inspector/front-end/ConsoleView.js:32 > +WebInspector.ConsolePanel = function(drawer)
Containing file should be renamed as well.
> Source/WebCore/inspector/front-end/ConsoleView.js:248 > + this._previousConsoleState = WebInspector.drawer.state;
This code should be removed from ConsolePanel.js, shouldn't it?
> Source/WebCore/inspector/front-end/inspector.js:192 > + this.panels.console = this.console;
This method is supposed to create panels.
Pavel Podivilov
Comment 6
2011-05-04 07:25:58 PDT
Created
attachment 92238
[details]
Patch. Console view in drawer looks exactly the same as console panel. Merging ConsoleView and ConsolePanel together will allow us to reuse panel's functionality (e.g. resizable sidebar) even when console is docked.
Pavel Podivilov
Comment 7
2011-05-04 07:27:04 PDT
(In reply to
comment #5
)
> (From update of
attachment 91666
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=91666&action=review
> > > Source/WebCore/ChangeLog:7 > > + > > Please give a brief description of the changes made. It's not clear in particular how conversion of ConsoleView into a panel helps us to add implement snippet editor.
Done.
> > > Source/WebCore/inspector/front-end/ConsoleView.js:32 > > +WebInspector.ConsolePanel = function(drawer) > > Containing file should be renamed as well. > > > Source/WebCore/inspector/front-end/ConsoleView.js:248 > > + this._previousConsoleState = WebInspector.drawer.state; > > This code should be removed from ConsolePanel.js, shouldn't it?
Let me do it in a follow up patch.
> > > Source/WebCore/inspector/front-end/inspector.js:192 > > + this.panels.console = this.console; > > This method is supposed to create panels.
Done.
Pavel Podivilov
Comment 8
2011-05-16 10:54:55 PDT
Committed
r86589
: <
http://trac.webkit.org/changeset/86589
>
Andrew Wilson
Comment 9
2011-05-16 11:53:09 PDT
This seems to be breaking the chromium canary bots:
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&group=%40ToT%20-%20chromium.org&tests=http%2Ftests%2Finspector%2Fchange-iframe-src.html%2Chttp%2Ftests%2Finspector%2Fconsole-resource-errors.html%2Chttp%2Ftests%2Finspector%2Fresource-tree%2Fresource-tree-frame-add.html
Andrew Wilson
Comment 10
2011-05-16 11:59:07 PDT
Reverted
r86589
for reason: Broke Committed
r86595
: <
http://trac.webkit.org/changeset/86595
>
Pavel Podivilov
Comment 11
2011-05-17 02:01:19 PDT
Committed
r86660
: <
http://trac.webkit.org/changeset/86660
>
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