Bug 82463 - Web Inspector: dispatch console-message-added and console-messages-cleared events on UISourceCode.
Summary: Web Inspector: dispatch console-message-added and console-messages-cleared ev...
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: Pavel Podivilov
URL:
Keywords:
Depends on:
Blocks: 82224
  Show dependency treegraph
 
Reported: 2012-03-28 06:41 PDT by Pavel Podivilov
Modified: 2012-03-28 08:24 PDT (History)
10 users (show)

See Also:


Attachments
Patch (15.63 KB, patch)
2012-03-28 06:42 PDT, Pavel Podivilov
vsevik: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Podivilov 2012-03-28 06:41:15 PDT
Web Inspector: dispatch console-message-added and console-messages-cleared events on UISourceCode.

Those events are related to specific UISourceCode. See bug 82224 for more details.
Comment 1 Pavel Podivilov 2012-03-28 06:42:35 PDT
Created attachment 134284 [details]
Patch
Comment 2 Vsevolod Vlasov 2012-03-28 07:26:09 PDT
Comment on attachment 134284 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=134284&action=review

> Source/WebCore/inspector/front-end/DebuggerPresentationModel.js:280
> +            uiLocation.uiSourceCode.consoleMessageAdded(presentationMessage);

I know this is not related to this patch, but switching to pretty-print mode and back adds more and more messages to uiSourceCode because they are never removed from it (unless console is cleared / navigation happens).
Comment 3 Pavel Podivilov 2012-03-28 08:24:03 PDT
Committed r112402: <http://trac.webkit.org/changeset/112402>