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

Issue 2008823002: bindings: Supports [SaveSameObject] extended attribute. (Closed)

Created:
4 years, 7 months ago by Yuki
Modified:
4 years, 6 months ago
Reviewers:
haraken
CC:
chromium-reviews, blink-reviews-css, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, blink-reviews-bindings_chromium.org, rwlbuis, 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 [SaveSameObject] extended attribute. Syntactically we've supported [SameObject] extended attribute, but we've not had any implementation for it. This CL supports [SaveSameObject] extended attribute that stores the first returned value in the holder's private value, and returns it for the second time. The first attempt is: https://crrev.com/1980553002 BUG=462913 Committed: https://crrev.com/d3d78df139ae5f8bbb655975a751a17c433193b9 Cr-Commit-Position: refs/heads/master@{#396450}

Patch Set 1 : https://crrev.com/1980553002 #

Patch Set 2 : Supports [DoNotSaveSameObject] to avoid performance regressions. #

Patch Set 3 : Synced. #

Patch Set 4 : Changed DoNotSaveSameObject to SaveSameObject. #

Patch Set 5 : Fixed tests. #

Patch Set 6 : Fixed the documentation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -22 lines) Patch
M third_party/WebKit/Source/bindings/IDLExtendedAttributes.md View 1 2 3 4 5 2 chunks +8 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/IDLExtendedAttributes.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/v8_attributes.py View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/templates/attributes.cpp View 1 2 3 3 chunks +16 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/tests/idls/core/TestObject.idl View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp View 1 2 3 4 7 chunks +32 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSImportRule.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (10 generated)
Yuki
Could you review this CL?
4 years, 7 months ago (2016-05-24 14:05:44 UTC) #4
haraken
This makes a lot of more sense. Is there any use case where we want ...
4 years, 7 months ago (2016-05-24 17:07:56 UTC) #5
Yuki
On 2016/05/24 17:07:56, haraken wrote: > This makes a lot of more sense. > > ...
4 years, 7 months ago (2016-05-26 11:43:51 UTC) #6
haraken
On 2016/05/26 11:43:51, Yuki wrote: > On 2016/05/24 17:07:56, haraken wrote: > > This makes ...
4 years, 7 months ago (2016-05-26 16:00:58 UTC) #7
Yuki
On 2016/05/26 16:00:58, haraken wrote: > On 2016/05/26 11:43:51, Yuki wrote: > > On 2016/05/24 ...
4 years, 6 months ago (2016-05-27 07:42:58 UTC) #8
haraken
On 2016/05/27 07:42:58, Yuki wrote: > On 2016/05/26 16:00:58, haraken wrote: > > On 2016/05/26 ...
4 years, 6 months ago (2016-05-27 08:04:41 UTC) #9
Yuki
On 2016/05/27 08:04:41, haraken wrote: > On 2016/05/27 07:42:58, Yuki wrote: > > On 2016/05/26 ...
4 years, 6 months ago (2016-05-27 08:40:32 UTC) #10
haraken
On 2016/05/27 08:40:32, Yuki wrote: > On 2016/05/27 08:04:41, haraken wrote: > > On 2016/05/27 ...
4 years, 6 months ago (2016-05-27 08:48:47 UTC) #11
haraken
On 2016/05/27 08:48:47, haraken wrote: > On 2016/05/27 08:40:32, Yuki wrote: > > On 2016/05/27 ...
4 years, 6 months ago (2016-05-27 08:55:00 UTC) #12
Yuki
On 2016/05/27 08:55:00, haraken wrote: > On 2016/05/27 08:48:47, haraken wrote: > > On 2016/05/27 ...
4 years, 6 months ago (2016-05-27 09:06:41 UTC) #13
haraken
On 2016/05/27 09:06:41, Yuki wrote: > On 2016/05/27 08:55:00, haraken wrote: > > On 2016/05/27 ...
4 years, 6 months ago (2016-05-27 09:22:34 UTC) #14
Yuki
On 2016/05/27 09:22:34, haraken wrote: > On 2016/05/27 09:06:41, Yuki wrote: > > On 2016/05/27 ...
4 years, 6 months ago (2016-05-27 09:28:25 UTC) #15
haraken
On 2016/05/27 09:28:25, Yuki wrote: > On 2016/05/27 09:22:34, haraken wrote: > > On 2016/05/27 ...
4 years, 6 months ago (2016-05-27 09:34:42 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2008823002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2008823002/100001
4 years, 6 months ago (2016-05-27 11:17:36 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2008823002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2008823002/100001
4 years, 6 months ago (2016-05-27 11:54:35 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-05-27 13:05:02 UTC) #25
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 13:06:54 UTC) #27
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d3d78df139ae5f8bbb655975a751a17c433193b9
Cr-Commit-Position: refs/heads/master@{#396450}

Powered by Google App Engine
This is Rietveld 408576698