Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(1)

Issue 1202683002: bindings: Supports per-member [Exposed] for attributes on prototype. (Closed)

Created:
4 years, 10 months ago by Yuki
Modified:
4 years, 10 months ago
Reviewers:
haraken, bashi
CC:
blink-reviews, blink-reviews-bindings_chromium.org, vivekg_samsung, arv+blink, vivekg
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

bindings: Supports per-member [Exposed] for attributes on prototype. Support per-member [Exposed] extended attribute on the prototype object. This CL does NOT support ones on the instance or interface object. BUG=503505 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197651

Patch Set 1 #

Total comments: 6

Patch Set 2 : Synced. #

Patch Set 3 : Addressed review comments. #

Total comments: 8

Patch Set 4 : Addressed review comments. #

Total comments: 2

Patch Set 5 : Addressed a review comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -170 lines) Patch
M Source/bindings/core/v8/V8DOMConfiguration.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/V8DOMConfiguration.cpp View 4 chunks +44 lines, -10 lines 0 comments Download
M Source/bindings/core/v8/V8PerContextData.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/core/v8/WrapperTypeInfo.h View 3 chunks +6 lines, -6 lines 0 comments Download
M Source/bindings/scripts/v8_interface.py View 1 2 3 4 2 chunks +14 lines, -1 line 0 comments Download
M Source/bindings/templates/interface.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/templates/interface.cpp View 1 2 3 4 3 chunks +21 lines, -18 lines 0 comments Download
M Source/bindings/templates/partial_interface.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/templates/partial_interface.cpp View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/core/V8ArrayBuffer.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8ArrayBufferView.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8DataView.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8SVGTestInterface.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestException.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterface.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterface.cpp View 1 2 3 1 chunk +10 lines, -55 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestInterface2.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterface3.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceAccessors.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceConstructor.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceConstructor2.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceConstructor3.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceConstructor4.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceCustomConstructor.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceDocument.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceEmpty.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceEventInitConstructor.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceEventTarget.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceNode.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceOwnProperties.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceOwnPropertiesDerived.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestNode.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestObject.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestObject.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestSpecialOperations.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestSpecialOperationsNotEnumerable.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8TestTypedefs.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/core/V8Uint8ClampedArray.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/modules/V8TestInterface5.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/tests/results/modules/V8TestInterface5.cpp View 1 2 3 1 chunk +10 lines, -35 lines 0 comments Download
M Source/bindings/tests/results/modules/V8TestInterfacePartial.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Yuki
Could you guys review this CL?
4 years, 10 months ago (2015-06-23 07:51:32 UTC) #2
bashi
Do we have a crbug entry for this? It would be nice to have BUG=[actual ...
4 years, 10 months ago (2015-06-23 08:21:03 UTC) #3
Yuki
https://codereview.chromium.org/1202683002/diff/1/Source/bindings/core/v8/V8DOMConfiguration.cpp File Source/bindings/core/v8/V8DOMConfiguration.cpp (right): https://codereview.chromium.org/1202683002/diff/1/Source/bindings/core/v8/V8DOMConfiguration.cpp#newcode128 Source/bindings/core/v8/V8DOMConfiguration.cpp:128: instanceOrTemplate->SetAccessorProperty(name, getter, setter, accessor.attribute, accessor.settings); On 2015/06/23 08:21:03, bashi1 ...
4 years, 10 months ago (2015-06-23 08:36:05 UTC) #4
bashi
LGTM from my side.
4 years, 10 months ago (2015-06-23 08:43:49 UTC) #5
haraken
Mostly looks good. https://codereview.chromium.org/1202683002/diff/40001/Source/bindings/core/v8/V8DOMConfiguration.cpp File Source/bindings/core/v8/V8DOMConfiguration.cpp (right): https://codereview.chromium.org/1202683002/diff/40001/Source/bindings/core/v8/V8DOMConfiguration.cpp#newcode134 Source/bindings/core/v8/V8DOMConfiguration.cpp:134: v8::Local<FunctionOrTemplate> setter = createAccessorFunctionOrTemplate<FunctionOrTemplate>(isolate, setterCallback, data, ...
4 years, 10 months ago (2015-06-23 09:14:07 UTC) #6
Yuki
https://codereview.chromium.org/1202683002/diff/40001/Source/bindings/core/v8/V8DOMConfiguration.cpp File Source/bindings/core/v8/V8DOMConfiguration.cpp (right): https://codereview.chromium.org/1202683002/diff/40001/Source/bindings/core/v8/V8DOMConfiguration.cpp#newcode134 Source/bindings/core/v8/V8DOMConfiguration.cpp:134: v8::Local<FunctionOrTemplate> setter = createAccessorFunctionOrTemplate<FunctionOrTemplate>(isolate, setterCallback, data, v8::Local<v8::Signature>(), 1); On ...
4 years, 10 months ago (2015-06-23 12:41:38 UTC) #7
haraken
LGTM https://codereview.chromium.org/1202683002/diff/60001/Source/bindings/templates/interface.cpp File Source/bindings/templates/interface.cpp (right): https://codereview.chromium.org/1202683002/diff/60001/Source/bindings/templates/interface.cpp#newcode813 Source/bindings/templates/interface.cpp:813: {% if has_conditional_member_on_prototype or unscopeables %} Maybe it's ...
4 years, 10 months ago (2015-06-23 12:52:36 UTC) #8
Yuki
https://codereview.chromium.org/1202683002/diff/60001/Source/bindings/templates/interface.cpp File Source/bindings/templates/interface.cpp (right): https://codereview.chromium.org/1202683002/diff/60001/Source/bindings/templates/interface.cpp#newcode813 Source/bindings/templates/interface.cpp:813: {% if has_conditional_member_on_prototype or unscopeables %} On 2015/06/23 12:52:36, ...
4 years, 10 months ago (2015-06-23 13:10:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1202683002/80001
4 years, 10 months ago (2015-06-23 13:10:47 UTC) #12
commit-bot: I haz the power
4 years, 10 months ago (2015-06-23 14:42:43 UTC) #13
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197651

Powered by Google App Engine
This is Rietveld 408576698