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

Issue 140653013: Have DOMImplementation::document() return reference. (Closed)

Created:
6 years, 10 months ago by deepak.sa
Modified:
6 years, 10 months ago
CC:
blink-reviews, dglazkov+blink, apavlov+blink_chromium.org, ed+blinkwatch_opera.com, darktears
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Have DOMImplementation::document() return reference. Have DOMImplementaion::document() return reference as m_document is a stored as a reference. As this function is used in V8, new IDL attribute [SetWrapperReferenceFromReference] has been added, which supports document() returning reference. New binding test has been added for this attribute. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167755

Patch Set 1 #

Patch Set 2 : Added SetWrapperReferenceFromReference IDL attribute #

Total comments: 2

Patch Set 3 : Binding test added for [SetWrapperReferenceFrom] extended attribute. #

Total comments: 2

Patch Set 4 : Removed StyleSheetList::document changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -52 lines) Patch
M Source/bindings/IDLExtendedAttributes.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/scripts/code_generator_v8.pm View 1 2 3 2 chunks +18 lines, -4 lines 0 comments Download
A Source/bindings/tests/idls/TestInterfacePython4.idl View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
A + Source/bindings/tests/results/V8TestInterfacePython4.h View 1 2 3 2 chunks +28 lines, -28 lines 0 comments Download
A + Source/bindings/tests/results/V8TestInterfacePython4.cpp View 1 2 3 5 chunks +27 lines, -18 lines 0 comments Download
M Source/core/dom/DOMImplementation.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/DOMImplementation.idl View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (0 generated)
deepak.sa
Please have a loook.
6 years, 10 months ago (2014-01-30 12:52:17 UTC) #1
Inactive
lgtm
6 years, 10 months ago (2014-01-30 14:32:13 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/deepak.sa@samsung.com/140653013/1
6 years, 10 months ago (2014-01-30 14:32:23 UTC) #3
commit-bot: I haz the power
Retried try job too often on mac_layout for step(s) webkit_lint http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_layout&number=18467
6 years, 10 months ago (2014-01-30 15:21:50 UTC) #4
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-30 15:21:56 UTC) #5
deepak.sa
On 2014/01/30 14:32:13, Chris Dumez wrote: > lgtm While compiling code on my system i ...
6 years, 10 months ago (2014-01-31 09:34:18 UTC) #6
Inactive
not lgtm then. +haraken to get his opinion. My proposal would be to introduce a ...
6 years, 10 months ago (2014-01-31 14:13:47 UTC) #7
haraken
> +haraken to get his opinion. > > My proposal would be to introduce a ...
6 years, 10 months ago (2014-01-31 15:39:43 UTC) #8
deepak.sa
On 2014/01/31 15:39:43, haraken wrote: > > +haraken to get his opinion. > > > ...
6 years, 10 months ago (2014-02-04 06:09:21 UTC) #9
Inactive
https://codereview.chromium.org/140653013/diff/30001/Source/bindings/IDLExtendedAttributes.txt File Source/bindings/IDLExtendedAttributes.txt (right): https://codereview.chromium.org/140653013/diff/30001/Source/bindings/IDLExtendedAttributes.txt#newcode87 Source/bindings/IDLExtendedAttributes.txt:87: SetWrapperReferenceFromReference=document You'll need bindings tests coverage for this new ...
6 years, 10 months ago (2014-02-04 14:31:39 UTC) #10
Inactive
On 2014/02/04 14:31:39, Chris Dumez wrote: > https://codereview.chromium.org/140653013/diff/30001/Source/bindings/IDLExtendedAttributes.txt > File Source/bindings/IDLExtendedAttributes.txt (right): > > https://codereview.chromium.org/140653013/diff/30001/Source/bindings/IDLExtendedAttributes.txt#newcode87 ...
6 years, 10 months ago (2014-02-13 17:40:06 UTC) #11
deepak.sa
On 2014/02/13 17:40:06, Chris Dumez wrote: > On 2014/02/04 14:31:39, Chris Dumez wrote: > > ...
6 years, 10 months ago (2014-02-16 14:33:53 UTC) #12
Inactive
On 2014/02/16 14:33:53, deepak.sa wrote: > On 2014/02/13 17:40:06, Chris Dumez wrote: > > On ...
6 years, 10 months ago (2014-02-16 14:41:23 UTC) #13
deepak.sa
Please have a look. Thanx.
6 years, 10 months ago (2014-02-20 19:07:32 UTC) #14
Inactive
https://codereview.chromium.org/140653013/diff/150001/Source/bindings/tests/idls/TestInterfacePython3.idl File Source/bindings/tests/idls/TestInterfacePython3.idl (right): https://codereview.chromium.org/140653013/diff/150001/Source/bindings/tests/idls/TestInterfacePython3.idl#newcode36 Source/bindings/tests/idls/TestInterfacePython3.idl:36: SetWrapperReferenceFromReference=document, // Conflicts with [SetWrapperReferenceFrom] Please create a new ...
6 years, 10 months ago (2014-02-21 00:41:39 UTC) #15
Nils Barth (inactive)
Note regarding IDL test case. https://codereview.chromium.org/140653013/diff/150001/Source/bindings/tests/idls/TestInterfacePython3.idl File Source/bindings/tests/idls/TestInterfacePython3.idl (right): https://codereview.chromium.org/140653013/diff/150001/Source/bindings/tests/idls/TestInterfacePython3.idl#newcode36 Source/bindings/tests/idls/TestInterfacePython3.idl:36: SetWrapperReferenceFromReference=document, // Conflicts with ...
6 years, 10 months ago (2014-02-21 01:13:48 UTC) #16
deepak.sa
On 2014/02/21 01:13:48, Nils Barth wrote: > Note regarding IDL test case. > > https://codereview.chromium.org/140653013/diff/150001/Source/bindings/tests/idls/TestInterfacePython3.idl ...
6 years, 10 months ago (2014-02-21 12:46:16 UTC) #17
Nils Barth (inactive)
On 2014/02/21 12:46:16, deepak.sa wrote: > But what about this new patch that have been ...
6 years, 10 months ago (2014-02-21 13:13:15 UTC) #18
Inactive
On 2014/02/21 12:46:16, deepak.sa wrote: > On 2014/02/21 01:13:48, Nils Barth wrote: > > Note ...
6 years, 10 months ago (2014-02-21 16:29:52 UTC) #19
deepak.sa
On 2014/02/21 16:29:52, Chris Dumez wrote: > On 2014/02/21 12:46:16, deepak.sa wrote: > > On ...
6 years, 10 months ago (2014-02-24 12:44:58 UTC) #20
Inactive
LGTM but please let Nils take a look as well before landing as he previously ...
6 years, 10 months ago (2014-02-24 14:12:58 UTC) #21
Nils Barth (inactive)
On 2014/02/24 14:12:58, Chris Dumez wrote: > LGTM but please let Nils take a look ...
6 years, 10 months ago (2014-02-25 00:46:22 UTC) #22
deepak.sa
The CQ bit was checked by deepak.sa@samsung.com
6 years, 10 months ago (2014-02-25 05:39:24 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/deepak.sa@samsung.com/140653013/280001
6 years, 10 months ago (2014-02-25 05:39:39 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/deepak.sa@samsung.com/140653013/280001
6 years, 10 months ago (2014-02-25 07:43:12 UTC) #25
commit-bot: I haz the power
Change committed as 167755
6 years, 10 months ago (2014-02-25 08:50:55 UTC) #26
Nils Barth (inactive)
Deepak, could you please document this new [SetWrapperReferenceFromReference] extended attribute at the documentation page? I've ...
6 years, 10 months ago (2014-02-26 06:21:37 UTC) #27
Inactive
6 years, 10 months ago (2014-02-26 13:07:09 UTC) #28
Message was sent while issue was closed.
On 2014/02/26 06:21:37, Nils Barth wrote:
> Deepak, could you please document this new [SetWrapperReferenceFromReference]
> extended attribute at the documentation page?
> 
> I've set up a new section for it, if you could fill it in:
>
http://www.chromium.org/blink/webidl/blink-idl-extended-attributes#TOC-SetWra...
> 
> Thanks!

I am planning to get rid of this attribute today anyway and make the bindings
code accept both a reference or a pointer.

Powered by Google App Engine
This is Rietveld 408576698