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

Issue 1097243002: [Reland] Implement Custom Element's class side inheritance (Closed)

Created:
5 years, 8 months ago by deepak.s
Modified:
5 years, 8 months ago
CC:
arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, vivekg_samsung
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[Reland] Implement Custom Element's class side inheritance Custom element should set __proto__ internal property of the generated constructor. __proto__ should be set to base class object. As class inheritance is supported in DOM elements, it should also be supported in Custom elements. BUG=271466, 443369, 478329 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194296

Patch Set 1 #

Total comments: 3

Patch Set 2 : Updated layout test #

Patch Set 3 : Removed HEAD, HTML #

Patch Set 4 : Removed unneccessary div #

Total comments: 1

Patch Set 5 : Nits #

Messages

Total messages: 17 (4 generated)
deepak.s
Using maybe version of v8::Object::Get. PTAL? Thanks!
5 years, 8 months ago (2015-04-21 08:27:50 UTC) #2
haraken
What's a diff from the previous CL?
5 years, 8 months ago (2015-04-21 08:35:38 UTC) #3
deepak.s
https://codereview.chromium.org/1097243002/diff/1/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp File Source/bindings/core/v8/CustomElementConstructorBuilder.cpp (right): https://codereview.chromium.org/1097243002/diff/1/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp#newcode204 Source/bindings/core/v8/CustomElementConstructorBuilder.cpp:204: if (!m_prototype->Get(context, constructorKey).ToLocal(&constructorPrototype)) Now, we are using maybe version ...
5 years, 8 months ago (2015-04-21 08:37:04 UTC) #4
haraken
On 2015/04/21 08:37:04, deepak.s wrote: > https://codereview.chromium.org/1097243002/diff/1/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp > File Source/bindings/core/v8/CustomElementConstructorBuilder.cpp (right): > > https://codereview.chromium.org/1097243002/diff/1/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp#newcode204 > ...
5 years, 8 months ago (2015-04-21 08:39:41 UTC) #5
vivekg
On 2015/04/21 at 08:37:04, deepak.s wrote: > https://codereview.chromium.org/1097243002/diff/1/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp > File Source/bindings/core/v8/CustomElementConstructorBuilder.cpp (right): > > https://codereview.chromium.org/1097243002/diff/1/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp#newcode204 ...
5 years, 8 months ago (2015-04-21 08:44:17 UTC) #6
deepak.s
On 2015/04/21 08:44:17, vivekg_ wrote: > On 2015/04/21 at 08:37:04, deepak.s wrote: > > > ...
5 years, 8 months ago (2015-04-21 08:49:15 UTC) #7
vivekg
https://codereview.chromium.org/1097243002/diff/1/LayoutTests/fast/dom/custom/exception-from-constructor.html File LayoutTests/fast/dom/custom/exception-from-constructor.html (right): https://codereview.chromium.org/1097243002/diff/1/LayoutTests/fast/dom/custom/exception-from-constructor.html#newcode8 LayoutTests/fast/dom/custom/exception-from-constructor.html:8: description('Tests throwing an exception during registeration of' nit: registeration ...
5 years, 8 months ago (2015-04-21 09:42:50 UTC) #9
deepak.s
On 2015/04/21 09:42:50, vivekg_ wrote: > https://codereview.chromium.org/1097243002/diff/1/LayoutTests/fast/dom/custom/exception-from-constructor.html > File LayoutTests/fast/dom/custom/exception-from-constructor.html (right): > > https://codereview.chromium.org/1097243002/diff/1/LayoutTests/fast/dom/custom/exception-from-constructor.html#newcode8 > ...
5 years, 8 months ago (2015-04-21 10:08:19 UTC) #10
vivekg
LGTM, but lets wait for dominicc@ to rubber-stamp this. Thanks!
5 years, 8 months ago (2015-04-21 10:23:44 UTC) #11
deepak.s
dominicc@ Is it good to go?
5 years, 8 months ago (2015-04-21 10:25:55 UTC) #12
dominicc (has gone to gerrit)
lgtm LGTM modulo one nit with test formatting. https://codereview.chromium.org/1097243002/diff/60001/LayoutTests/fast/dom/custom/registration-context-delete-during-register-base-constructor-retrieval.html File LayoutTests/fast/dom/custom/registration-context-delete-during-register-base-constructor-retrieval.html (right): https://codereview.chromium.org/1097243002/diff/60001/LayoutTests/fast/dom/custom/registration-context-delete-during-register-base-constructor-retrieval.html#newcode9 LayoutTests/fast/dom/custom/registration-context-delete-during-register-base-constructor-retrieval.html:9: ' ...
5 years, 8 months ago (2015-04-23 07:16:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097243002/80001
5 years, 8 months ago (2015-04-23 08:27:29 UTC) #16
commit-bot: I haz the power
5 years, 8 months ago (2015-04-23 13:54:24 UTC) #17
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194296

Powered by Google App Engine
This is Rietveld 408576698