Bug 151225

Summary: Web Inspector: Reduce list of saved console messages
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, ggaren, graouts, joepeck, keith_miller, mark.lam, mattbaker, msaboff, nvasilyev, saam, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Joseph Pecoraro
Reported 2015-11-12 14:30:14 PST
* SUMMARY Reduce list of saved console messages. Most sites do not produce a very large number of console messages. But for pages that live for a long time and generate many errors over time, saving the last 1000 messages in case an inspector frontend opens can result in a lot of wasted memory. Likewise when an inspector first open sending all 1000 messages to the frontend results in a poor experience. Lets reduce this to 100. When just growing the web and not developing a page, most warnings/errors accumulated are engine generated warnings/errors that themselves can be investigated to reduce noise and further lower the actual number of ConsoleMessages.
Attachments
[PATCH] Proposed Fix (2.20 KB, patch)
2015-11-12 14:36 PST, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2015-11-12 14:31:17 PST
Joseph Pecoraro
Comment 2 2015-11-12 14:36:52 PST
Created attachment 265435 [details] [PATCH] Proposed Fix
Geoffrey Garen
Comment 3 2015-11-12 14:38:07 PST
Comment on attachment 265435 [details] [PATCH] Proposed Fix r=me
WebKit Commit Bot
Comment 4 2015-11-12 15:27:13 PST
Comment on attachment 265435 [details] [PATCH] Proposed Fix Clearing flags on attachment: 265435 Committed r192391: <http://trac.webkit.org/changeset/192391>
WebKit Commit Bot
Comment 5 2015-11-12 15:27:16 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.