[Webkit-unassigned] [Bug 144681] Web Inspector: Activity Viewer does not update on "clear all console messages"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 8 16:07:22 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=144681

--- Comment #4 from tobi+bugzilla at basecode.de ---
LogManager listens on "Console.messagesCleared" events from Backend. A typical stack of events looks like this on a page reload:

- load page that contains a console.log("test")
- "WebInspector.ConsoleObserver.messageAdded" // from Backend, prints "test"
- reload page
- "WebInspector.ConsoleObserver.messagesCleared" // from Backend
- "WebInspector.Frame.Event.MainResourceDidChange" // from ?, indicates "session start"
- "WebInspector.ConsoleObserver.messageAdded" // from Backend, prints "test"
- "WebInspector.ConsoleObserver.messagesCleared" // from Backend, why??

Conclusion
The former "messagesCleared" can be instrumented to clear on reload or not.
The latter "messagesCleared" breaks our logic and should be avoided.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150508/376abb5e/attachment.html>


More information about the webkit-unassigned mailing list