RESOLVED FIXED 195690
Web Inspector: Console: add a setting for controlling auto-expansion of Trace messages
https://bugs.webkit.org/show_bug.cgi?id=195690
Summary Web Inspector: Console: add a setting for controlling auto-expansion of Trace...
Devin Rousso
Reported 2019-03-13 11:59:40 PDT
If a lot of `console.trace` calls are being made rapidly, it can "spam" the log with a lot of information that the developer would have to sift through, especially if all the traces auto-expand.
Attachments
Patch (5.08 KB, patch)
2019-03-13 12:04 PDT, Devin Rousso
no flags
Devin Rousso
Comment 1 2019-03-13 12:04:22 PDT
Radar WebKit Bug Importer
Comment 2 2019-03-15 00:02:20 PDT
Joseph Pecoraro
Comment 3 2019-03-18 21:46:56 PDT
Comment on attachment 364558 [details] Patch Hmm, I'm not sure this deserves a setting. Do we have a good reason for it (other then our Inspector protocol traffic logging?)
Devin Rousso
Comment 4 2019-03-19 18:16:53 PDT
(In reply to Joseph Pecoraro from comment #3) > Comment on attachment 364558 [details] > Patch > > Hmm, I'm not sure this deserves a setting. Do we have a good reason for it > (other then our Inspector protocol traffic logging?) I don't have a "good" reason, but I have run into situations before where when running `console.trace(a, b)` a LOT of times, I'll only really care about ones with a particular value for `a` or `b`, and having to scroll/filter is a bit annoying. This solves the issue quite nicely :) I would also prefer it to not be expanded by default. Rather than making that choice for everyone, a setting lets each person choose for themself.
Timothy Hatcher
Comment 5 2019-03-20 09:01:32 PDT
I could see this being useful. Would be good to know how often many of these settings get used in the wild, so we can cull the unused ones or ones always enabled.
WebKit Commit Bot
Comment 6 2019-03-20 11:58:10 PDT
Comment on attachment 364558 [details] Patch Clearing flags on attachment: 364558 Committed r243220: <https://trac.webkit.org/changeset/243220>
WebKit Commit Bot
Comment 7 2019-03-20 11:58:11 PDT
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.