Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Issue 2668423004: Add usage counter for each value of webkit-user-modify (Closed)

Created:
3 years, 10 months ago by Xiaocheng
Modified:
3 years, 10 months ago
Reviewers:
haraken, tkent, Manuel Rego
CC:
darktears, apavlov+blink_chromium.org, asvitkine+watch_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add usage counter for each value of webkit-user-modify This patch adds usage counter for each value of webkit-user-modify so that we can have a better understanding of its current usage, and the functionality loss about 'read-write-plaintext-only' if the property is removed. BUG=687843 Review-Url: https://codereview.chromium.org/2668423004 Cr-Commit-Position: refs/heads/master@{#447741} Committed: https://chromium.googlesource.com/chromium/src/+/d71997cab809617592987ba993d0261cdde19a9a

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -0 lines) Patch
M third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp View 1 chunk +18 lines, -0 lines 3 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 chunk +3 lines, -0 lines 3 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (13 generated)
Xiaocheng
PTAL.
3 years, 10 months ago (2017-02-02 07:56:45 UTC) #4
tkent
lgtm https://codereview.chromium.org/2668423004/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/2668423004/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode2035 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:2035: NOTREACHED(); Remove NOTREACHED(). There are other valid values ...
3 years, 10 months ago (2017-02-02 08:01:42 UTC) #5
Xiaocheng
Thanks for the review! https://codereview.chromium.org/2668423004/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/2668423004/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode2035 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:2035: NOTREACHED(); On 2017/02/02 at 08:01:42, ...
3 years, 10 months ago (2017-02-02 08:10:15 UTC) #6
tkent
https://codereview.chromium.org/2668423004/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/2668423004/diff/1/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode2035 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:2035: NOTREACHED(); On 2017/02/02 at 08:10:15, Xiaocheng wrote: > On ...
3 years, 10 months ago (2017-02-02 08:21:01 UTC) #7
Xiaocheng
Thanks.
3 years, 10 months ago (2017-02-02 08:31:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2668423004/1
3 years, 10 months ago (2017-02-02 08:31:43 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/355371)
3 years, 10 months ago (2017-02-02 08:40:12 UTC) #13
Xiaocheng
+haraken PTAL.
3 years, 10 months ago (2017-02-02 08:48:09 UTC) #15
haraken
LGTM
3 years, 10 months ago (2017-02-02 08:53:49 UTC) #16
Xiaocheng
Thanks!
3 years, 10 months ago (2017-02-02 08:55:03 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2668423004/1
3 years, 10 months ago (2017-02-02 08:55:13 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/111303)
3 years, 10 months ago (2017-02-02 10:12:54 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2668423004/1
3 years, 10 months ago (2017-02-02 10:32:09 UTC) #23
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/d71997cab809617592987ba993d0261cdde19a9a
3 years, 10 months ago (2017-02-02 11:17:53 UTC) #26
Manuel Rego
https://codereview.chromium.org/2668423004/diff/1/third_party/WebKit/Source/core/frame/UseCounter.h File third_party/WebKit/Source/core/frame/UseCounter.h (right): https://codereview.chromium.org/2668423004/diff/1/third_party/WebKit/Source/core/frame/UseCounter.h#newcode1451 third_party/WebKit/Source/core/frame/UseCounter.h:1451: CSSValueUserModifyReadOnly = 1798, Not really important but we usually ...
3 years, 10 months ago (2017-02-03 14:12:07 UTC) #28
Xiaocheng
https://codereview.chromium.org/2668423004/diff/1/third_party/WebKit/Source/core/frame/UseCounter.h File third_party/WebKit/Source/core/frame/UseCounter.h (right): https://codereview.chromium.org/2668423004/diff/1/third_party/WebKit/Source/core/frame/UseCounter.h#newcode1451 third_party/WebKit/Source/core/frame/UseCounter.h:1451: CSSValueUserModifyReadOnly = 1798, On 2017/02/03 at 14:12:07, Manuel Rego ...
3 years, 10 months ago (2017-02-03 14:35:13 UTC) #29
Manuel Rego
https://codereview.chromium.org/2668423004/diff/1/third_party/WebKit/Source/core/frame/UseCounter.h File third_party/WebKit/Source/core/frame/UseCounter.h (right): https://codereview.chromium.org/2668423004/diff/1/third_party/WebKit/Source/core/frame/UseCounter.h#newcode1451 third_party/WebKit/Source/core/frame/UseCounter.h:1451: CSSValueUserModifyReadOnly = 1798, On 2017/02/03 14:35:13, Xiaocheng wrote: > ...
3 years, 10 months ago (2017-02-03 14:46:22 UTC) #30
haraken
3 years, 10 months ago (2017-02-03 16:39:02 UTC) #31
Message was sent while issue was closed.
On 2017/02/03 14:46:22, Manuel Rego wrote:
>
https://codereview.chromium.org/2668423004/diff/1/third_party/WebKit/Source/c...
> File third_party/WebKit/Source/core/frame/UseCounter.h (right):
> 
>
https://codereview.chromium.org/2668423004/diff/1/third_party/WebKit/Source/c...
> third_party/WebKit/Source/core/frame/UseCounter.h:1451:
> CSSValueUserModifyReadOnly = 1798,
> On 2017/02/03 14:35:13, Xiaocheng wrote:
> > Counters starting from 1788 are added in M58, and some of them are merged to
> M57
> > (1788-1792 are merged, 1797 is merge-approved).
> > 
> > In this case, where should the comment be put at?
> 
> That's a good question and I don't have a good answer for it.
> 
> What I think is that it's valuable to have those comments,
> maybe we should put it before 1793; and move 1797 just after 1792.
> But it can be confusing too.
> 
> Dunno if @haraken has the right answer.

IMO we should avoid moving the counter. I'd add the comment just before 1788
(i.e., ignore what was merged to the previous branch). If we need to worry about
merging, it will anyway lead to a mess.

Powered by Google App Engine
This is Rietveld 408576698