Bug 168560 - Web Inspector: Dashboard counters should reset when new console sessions are created
Summary: Web Inspector: Dashboard counters should reset when new console sessions are ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-18 15:30 PST by Devin Rousso
Modified: 2017-02-20 11:02 PST (History)
1 user (show)

See Also:


Attachments
Patch (2.88 KB, patch)
2017-02-18 15:34 PST, Devin Rousso
joepeck: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2017-02-18 15:30:33 PST
I often keep "Clear when page navigates" unchecked in settings, which means that I get a lot of console messages while I test things. Currently, however, the dashboard counters (Logs, Errors, Warnings) do not reset when the page refreshes, instead keeping the count of total logs/errors/warnings since the console was last cleared.
Comment 1 Devin Rousso 2017-02-18 15:34:44 PST
Created attachment 302060 [details]
Patch
Comment 2 Joseph Pecoraro 2017-02-20 11:02:29 PST
Comment on attachment 302060 [details]
Patch

I don't think this is the right thing to do. The dashboard and console should match. It doesn't make sense to clear one and not clear the other, because then they will be out of sync. To get the behavior you want (clear the dashboard indicators on reload) you can change your setting to not preserve console logs across reload.