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

Issue 2875583002: AccessorConfiguration and AttributeConfiguration no longer need the same fields. (Closed)

Created:
3 years, 7 months ago by nverne
Modified:
3 years, 7 months ago
Reviewers:
haraken, slangley, peria, Yuki
CC:
blink-reviews, blink-reviews-bindings_chromium.org, chasej+watch_chromium.org, chromium-reviews, iclelland+watch_chromuim.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

AccessorConfiguration and AttributeConfiguration no longer need the same fields. This saves a cache_key_name field in every AttributeConfiguration. run-bindings-tests --reset-results BUG=667237 Review-Url: https://codereview.chromium.org/2875583002 Cr-Commit-Position: refs/heads/master@{#470876} Committed: https://chromium.googlesource.com/chromium/src/+/8d7f527777c460aba06cf33eaf5d8d61205a2e09

Patch Set 1 #

Total comments: 13

Patch Set 2 : remove 'is_attribute_configuration' #

Total comments: 4

Patch Set 3 : regenerated bindings tests #

Patch Set 4 : whitespace changes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+785 lines, -305 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/V8DOMConfiguration.h View 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl View 1 2 3 4 chunks +58 lines, -9 lines 1 comment Download
M third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl View 8 chunks +17 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8SVGTestInterface.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestCallbackFunctions.cpp View 1 2 1 chunk +8 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedGlobal.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexedPrimaryGlobal.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp View 1 2 15 chunks +105 lines, -53 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp View 1 2 2 chunks +20 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceDocument.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventInitConstructor.cpp View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNode.cpp View 1 2 1 chunk +21 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp View 1 2 2 chunks +8 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceSecureContext.cpp View 1 2 6 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestNode.cpp View 1 2 1 chunk +11 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp View 1 2 4 chunks +457 lines, -160 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestTypedefs.cpp View 1 2 1 chunk +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp View 1 2 2 chunks +27 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
nverne
Here's the {Attribute|Accessor}Configuration refactor in a separate Cl, as peria@ requested!
3 years, 7 months ago (2017-05-10 04:09:47 UTC) #2
haraken
https://codereview.chromium.org/2875583002/diff/1/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl File third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl (right): https://codereview.chromium.org/2875583002/diff/1/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl#newcode412 third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl:412: {% if attribute.is_lazy_cached_accessor %} Can we factor out these ...
3 years, 7 months ago (2017-05-10 04:21:13 UTC) #3
nverne
https://codereview.chromium.org/2875583002/diff/1/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl File third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl (right): https://codereview.chromium.org/2875583002/diff/1/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl#newcode412 third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl:412: {% if attribute.is_lazy_cached_accessor %} On 2017/05/10 at 04:21:13, haraken ...
3 years, 7 months ago (2017-05-10 05:00:54 UTC) #4
haraken
LGTM https://codereview.chromium.org/2875583002/diff/20001/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl File third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl (right): https://codereview.chromium.org/2875583002/diff/20001/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl#newcode545 third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl:545: {{'{'}}{{all_worlds_config_list | join(', ')}}{{'}'}} Nit: I'd say this ...
3 years, 7 months ago (2017-05-10 05:18:58 UTC) #5
peria
https://codereview.chromium.org/2875583002/diff/1/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl File third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl (right): https://codereview.chromium.org/2875583002/diff/1/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl#newcode513 third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl:513: {% set config_pre = { On 2017/05/10 05:00:53, nverne ...
3 years, 7 months ago (2017-05-10 05:20:50 UTC) #6
Yuki
https://codereview.chromium.org/2875583002/diff/20001/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl File third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl (right): https://codereview.chromium.org/2875583002/diff/20001/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl#newcode545 third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl:545: {{'{'}}{{all_worlds_config_list | join(', ')}}{{'}'}} On 2017/05/10 05:18:58, haraken wrote: ...
3 years, 7 months ago (2017-05-10 06:16:08 UTC) #7
nverne
On 2017/05/10 at 06:16:08, yukishiino wrote: > https://codereview.chromium.org/2875583002/diff/20001/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl > File third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl (right): > > https://codereview.chromium.org/2875583002/diff/20001/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl#newcode545 ...
3 years, 7 months ago (2017-05-10 06:50:01 UTC) #8
nverne
https://codereview.chromium.org/2875583002/diff/20001/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl File third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl (left): https://codereview.chromium.org/2875583002/diff/20001/third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl#oldcode905 third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl:905: On 2017/05/10 at 06:16:08, Yuki wrote: > Curious, why ...
3 years, 7 months ago (2017-05-10 06:53:00 UTC) #9
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/2875583002/60001
3 years, 7 months ago (2017-05-10 06:54:51 UTC) #12
Yuki
LGTM. https://codereview.chromium.org/2875583002/diff/60001/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl File third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl (right): https://codereview.chromium.org/2875583002/diff/60001/third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl#newcode541 third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl:541: {% set all_worlds_config_list = config_pre["non_main"] + accessor_only_fields + ...
3 years, 7 months ago (2017-05-10 06:58:24 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/449671)
3 years, 7 months ago (2017-05-10 09:44:35 UTC) #15
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/2875583002/60001
3 years, 7 months ago (2017-05-11 01:22:10 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/451236)
3 years, 7 months ago (2017-05-11 04:15:36 UTC) #19
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/2875583002/60001
3 years, 7 months ago (2017-05-11 06:35:37 UTC) #21
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 08:38:27 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/8d7f527777c460aba06cf33eaf5d...

Powered by Google App Engine
This is Rietveld 408576698