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.
Created attachment 134284 [details]
Comment on attachment 134284 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=134284&action=review
> + 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).
Committed r112402: <http://trac.webkit.org/changeset/112402>