Summary: | Web Inspector: streamline Console's MessageType and MessageSource semantics. | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Pavel Feldman <pfeldman> | ||||||||||||
Component: | Web Inspector (Deprecated) | Assignee: | Pavel Feldman <pfeldman> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, vsevik, yurys | ||||||||||||
Priority: | P2 | ||||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||
Hardware: | All | ||||||||||||||
OS: | All | ||||||||||||||
Attachments: |
|
Description
Pavel Feldman
2011-09-19 02:09:46 PDT
Created attachment 107825 [details]
Patch
Comment on attachment 107825 [details] Patch Attachment 107825 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/9744296 Created attachment 107858 [details]
[Path] Mac bot fixed.
Comment on attachment 107858 [details] [Path] Mac bot fixed. View in context: https://bugs.webkit.org/attachment.cgi?id=107858&action=review > Source/WebCore/inspector/front-end/ConsoleMessage.js:98 > + case WebInspector.ConsoleMessage.MessageType.Dir: We should not switch between MessageTypes unless MessageSource is ConsoleAPI. Please put switch behind a conditional operator and make MessageType optional in protocol. Otherwise looks good. Created attachment 107879 [details]
[Patch] Review comments addressed
Created attachment 107884 [details]
[Patch] rebaselined 2.
Created attachment 107886 [details]
[Patch] rebaselined 3.
LGTM Comment on attachment 107886 [details] [Patch] rebaselined 3. View in context: https://bugs.webkit.org/attachment.cgi?id=107886&action=review > Source/WebCore/inspector/Inspector.json:335 > + "description": "Console domain defines methods and events for interaction with the JavaScript console. Console collects messages created by means of the <a href='http://getfirebug.com/wiki/index.php/Console_API'>JavaScript Console API</a>. One needs to enable this domain using <code>enable</code> command in order to start receiving the console messages. Browser collects messages issued while console domain is not enabled as well and reports them using <code>messageAdded</code> notification upon enabling.", I take it these strings are localized so it is fine to change them in place? Comment on attachment 107886 [details] [Patch] rebaselined 3. View in context: https://bugs.webkit.org/attachment.cgi?id=107886&action=review >> Source/WebCore/inspector/Inspector.json:335 >> + "description": "Console domain defines methods and events for interaction with the JavaScript console. Console collects messages created by means of the <a href='http://getfirebug.com/wiki/index.php/Console_API'>JavaScript Console API</a>. One needs to enable this domain using <code>enable</code> command in order to start receiving the console messages. Browser collects messages issued while console domain is not enabled as well and reports them using <code>messageAdded</code> notification upon enabling.", > > I take it these strings are localized so it is fine to change them in place? Protocol description is not localized. Committed r95535: <http://trac.webkit.org/changeset/95535> |