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

Issue 1980553002: bindings: Supports [SameObject] extended attribute. (Closed)

Created:
4 years, 7 months ago by Yuki
Modified:
4 years, 7 months ago
Reviewers:
haraken, bashi
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org, Peter Beverloo
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bindings: Supports [SameObject] extended attribute. Syntactically we've supported [SameObject] extended attribute, but we've not had any implementation for it. This CL stores the first returned value in the holder's private value, and returns it for the second time. BUG=462913 Committed: https://crrev.com/40d19a73c02f0185e5a49c4761860762896dec28 Cr-Commit-Position: refs/heads/master@{#393827}

Patch Set 1 #

Patch Set 2 : Fixed layouttests. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -9 lines) Patch
M third_party/WebKit/LayoutTests/fast/dom/gc-9-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_attributes.py View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/attributes.cpp View 3 chunks +16 lines, -3 lines 2 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp View 1 5 chunks +13 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSImportRule.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSImportRule.idl View 1 1 chunk +2 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (7 generated)
Yuki
Could you guys review this CL?
4 years, 7 months ago (2016-05-16 09:13:45 UTC) #2
haraken
LGTM on my side. https://codereview.chromium.org/1980553002/diff/20001/third_party/WebKit/Source/bindings/templates/attributes.cpp File third_party/WebKit/Source/bindings/templates/attributes.cpp (right): https://codereview.chromium.org/1980553002/diff/20001/third_party/WebKit/Source/bindings/templates/attributes.cpp#newcode137 third_party/WebKit/Source/bindings/templates/attributes.cpp:137: V8HiddenValue::setHiddenValue(ScriptState::current(info.GetIsolate()), holder, propertyName, info.GetReturnValue().Get()); Can ...
4 years, 7 months ago (2016-05-16 09:17:44 UTC) #3
bashi
lgtm. Could you update the description and BUG number (462913) ?
4 years, 7 months ago (2016-05-16 09:27:20 UTC) #4
Yuki
Oops, nice catch. I've updated the description and BUG=. https://codereview.chromium.org/1980553002/diff/20001/third_party/WebKit/Source/bindings/templates/attributes.cpp File third_party/WebKit/Source/bindings/templates/attributes.cpp (right): https://codereview.chromium.org/1980553002/diff/20001/third_party/WebKit/Source/bindings/templates/attributes.cpp#newcode137 third_party/WebKit/Source/bindings/templates/attributes.cpp:137: ...
4 years, 7 months ago (2016-05-16 09:32:14 UTC) #6
haraken
On 2016/05/16 09:32:14, Yuki wrote: > Oops, nice catch. I've updated the description and BUG=. ...
4 years, 7 months ago (2016-05-16 09:41:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1980553002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1980553002/20001
4 years, 7 months ago (2016-05-16 09:45:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1980553002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1980553002/20001
4 years, 7 months ago (2016-05-16 13:02:01 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-16 13:45:54 UTC) #14
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/40d19a73c02f0185e5a49c4761860762896dec28 Cr-Commit-Position: refs/heads/master@{#393827}
4 years, 7 months ago (2016-05-16 13:47:20 UTC) #16
Yuki
4 years, 7 months ago (2016-05-20 11:17:30 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2000643002/ by yukishiino@chromium.org.

The reason for reverting is: This CL hits terrible performance regressions..

Powered by Google App Engine
This is Rietveld 408576698