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

Issue 1711703002: Add internals.isCSSPropertyUseCounted functionality (Closed)

Created:
4 years, 10 months ago by nainar
Modified:
4 years, 10 months ago
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add internals.isCSSPropertyUseCounted functionality This patch adds the functionality of internals.isCSSPropertyUseCounted to test whether a particular CSSProperty is in use in a file. This function is being added to help improve testing for improvements made to UseCounter methods for counting CSSProperty. There is a currently a internals.isUseCounted that is used for testing whether a current feature is UseCounted. BUG=589343 Committed: https://crrev.com/04de728dedc272262c320c5d24f5df8df2a0db7e Cr-Commit-Position: refs/heads/master@{#377846}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 8

Patch Set 7 : #

Total comments: 4

Patch Set 8 : #

Total comments: 2

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/fast/css/window-internals-isCSSPropertyUseCounted.html View 1 2 3 4 5 6 7 1 chunk +50 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.cpp View 1 2 3 4 5 6 7 8 1 chunk +21 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.cpp View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 26 (12 generated)
alancutter (OOO until 2018)
Why do we need this function? Is there a patch that depends on it? https://codereview.chromium.org/1711703002/diff/40001/third_party/WebKit/LayoutTests/fast/css/window-internals-isCSSPropertyUseCounted.html ...
4 years, 10 months ago (2016-02-22 00:06:45 UTC) #3
nainar
@alancutter I've added the reasoning behind the patch in the description. PTAL? Thanks! https://codereview.chromium.org/1711703002/diff/40001/third_party/WebKit/LayoutTests/fast/css/window-internals-isCSSPropertyUseCounted.html File ...
4 years, 10 months ago (2016-02-24 02:31:23 UTC) #5
alancutter (OOO until 2018)
s/window.internal./internals./ in the description. https://codereview.chromium.org/1711703002/diff/100001/third_party/WebKit/LayoutTests/fast/css/window-internals-isCSSPropertyUseCounted.html File third_party/WebKit/LayoutTests/fast/css/window-internals-isCSSPropertyUseCounted.html (right): https://codereview.chromium.org/1711703002/diff/100001/third_party/WebKit/LayoutTests/fast/css/window-internals-isCSSPropertyUseCounted.html#newcode11 third_party/WebKit/LayoutTests/fast/css/window-internals-isCSSPropertyUseCounted.html:11: opacity: 100px; We should make ...
4 years, 10 months ago (2016-02-24 02:45:52 UTC) #6
nainar
Made the changes in the description as well. PTAl? Thanks! https://codereview.chromium.org/1711703002/diff/100001/third_party/WebKit/LayoutTests/fast/css/window-internals-isCSSPropertyUseCounted.html File third_party/WebKit/LayoutTests/fast/css/window-internals-isCSSPropertyUseCounted.html (right): https://codereview.chromium.org/1711703002/diff/100001/third_party/WebKit/LayoutTests/fast/css/window-internals-isCSSPropertyUseCounted.html#newcode11 ...
4 years, 10 months ago (2016-02-24 03:34:26 UTC) #8
alancutter (OOO until 2018)
lgtm with nit. s/internal./internals./ in the description.
4 years, 10 months ago (2016-02-24 03:40:07 UTC) #9
Timothy Loh
This needs a bug associated with it to provide context for why we're actually doing ...
4 years, 10 months ago (2016-02-24 03:40:35 UTC) #10
nainar
Added tracking bugs and made changes as per alan's comments @timloh, PTAL? Thanks! https://codereview.chromium.org/1711703002/diff/120001/third_party/WebKit/LayoutTests/fast/css/window-internals-isCSSPropertyUseCounted.html File ...
4 years, 10 months ago (2016-02-24 04:29:53 UTC) #14
Timothy Loh
lgtm https://codereview.chromium.org/1711703002/diff/140001/third_party/WebKit/Source/core/frame/UseCounter.cpp File third_party/WebKit/Source/core/frame/UseCounter.cpp (right): https://codereview.chromium.org/1711703002/diff/140001/third_party/WebKit/Source/core/frame/UseCounter.cpp#newcode699 third_party/WebKit/Source/core/frame/UseCounter.cpp:699: if (propertyID != CSSPropertyInvalid) better to rearrange this ...
4 years, 10 months ago (2016-02-26 06:37:46 UTC) #15
nainar
@timloh, Made the changes. Thanks! https://codereview.chromium.org/1711703002/diff/140001/third_party/WebKit/Source/core/frame/UseCounter.cpp File third_party/WebKit/Source/core/frame/UseCounter.cpp (right): https://codereview.chromium.org/1711703002/diff/140001/third_party/WebKit/Source/core/frame/UseCounter.cpp#newcode699 third_party/WebKit/Source/core/frame/UseCounter.cpp:699: if (propertyID != CSSPropertyInvalid) ...
4 years, 10 months ago (2016-02-26 06:59:55 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1711703002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1711703002/160001
4 years, 10 months ago (2016-02-26 07:00:48 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/162627)
4 years, 10 months ago (2016-02-26 07:19:01 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1711703002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1711703002/160001
4 years, 10 months ago (2016-02-26 07:21:14 UTC) #23
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 10 months ago (2016-02-26 08:13:50 UTC) #24
commit-bot: I haz the power
4 years, 10 months ago (2016-02-26 08:15:29 UTC) #26
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/04de728dedc272262c320c5d24f5df8df2a0db7e
Cr-Commit-Position: refs/heads/master@{#377846}

Powered by Google App Engine
This is Rietveld 408576698