WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
157439
Web Inspector: Improve console.count()
https://bugs.webkit.org/show_bug.cgi?id=157439
Summary
Web Inspector: Improve console.count()
Joseph Pecoraro
Reported
2016-05-06 17:37:32 PDT
* SUMMARY Improve console.count() Current behavior of console.count is line based and not useful at all. I started a discussion on:
https://github.com/whatwg/console/issues/60
I think for starters we should Edge's behavior, which makes the most sense: - console.count() increments a global unique counter - console.count(label) increments a named counter <label> Ultimately I think we will want to progress further: - have a UI dedicated to viewing counters, their values, updating live, and jump to locations - console.count() can then be a callsite unique counter instead of a global unique counter - console.countReset() => reset all counters - console.countReset(label) => reset counter with label
Attachments
[PATCH] Proposed Fix
(10.25 KB, patch)
2016-05-06 18:48 PDT
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
[IMAGE] Before
(128.21 KB, image/png)
2016-05-06 18:48 PDT
,
Joseph Pecoraro
no flags
Details
[IMAGE] After
(134.39 KB, image/png)
2016-05-06 18:48 PDT
,
Joseph Pecoraro
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-05-06 17:38:15 PDT
<
rdar://problem/26152654
>
Joseph Pecoraro
Comment 2
2016-05-06 18:48:01 PDT
Created
attachment 278305
[details]
[PATCH] Proposed Fix Good first step.
Joseph Pecoraro
Comment 3
2016-05-06 18:48:16 PDT
Created
attachment 278306
[details]
[IMAGE] Before
Joseph Pecoraro
Comment 4
2016-05-06 18:48:33 PDT
Created
attachment 278307
[details]
[IMAGE] After
WebKit Commit Bot
Comment 5
2016-05-06 20:07:36 PDT
Comment on
attachment 278305
[details]
[PATCH] Proposed Fix Clearing flags on attachment: 278305 Committed
r200535
: <
http://trac.webkit.org/changeset/200535
>
WebKit Commit Bot
Comment 6
2016-05-06 20:07:41 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.
Top of Page
Format For Printing
XML
Clone This Bug