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

Issue 2029923003: Recursively defining custom elements should not lead to redefinition (Closed)

Created:
4 years, 6 months ago by dominicc (has gone to gerrit)
Modified:
4 years, 6 months ago
Reviewers:
haraken, domenic, blink-reviews-bindings
CC:
blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, dominicc+watchlist_chromium.org, eae+blinkwatch, rwlbuis, sof, webcomponents-bugzilla_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Recursively defining custom elements should not lead to redefinition See https://github.com/whatwg/html/issues/1329 BUG=594918 Committed: https://crrev.com/c023cb478d2e9197b87b4cff28f73e2899cf0ffe Cr-Commit-Position: refs/heads/master@{#397958}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Another approach. #

Patch Set 3 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -2 lines) Patch
M third_party/WebKit/LayoutTests/custom-elements/spec/define-element.html View 1 2 2 chunks +47 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.cpp View 1 2 chunks +22 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.h View 1 2 3 chunks +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.cpp View 1 2 2 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
dominicc (has gone to gerrit)
PTAL
4 years, 6 months ago (2016-06-02 02:24:10 UTC) #2
haraken
https://codereview.chromium.org/2029923003/diff/1/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.cpp File third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.cpp (right): https://codereview.chromium.org/2029923003/diff/1/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.cpp#newcode77 third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.cpp:77: if (v8CallOrCrash( Would you help me understand why it's ...
4 years, 6 months ago (2016-06-02 02:29:36 UTC) #4
dominicc (has gone to gerrit)
On 2016/06/02 at 02:29:36, haraken wrote: > https://codereview.chromium.org/2029923003/diff/1/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.cpp > File third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.cpp (right): > > https://codereview.chromium.org/2029923003/diff/1/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.cpp#newcode77 ...
4 years, 6 months ago (2016-06-02 05:46:09 UTC) #5
haraken
On 2016/06/02 05:46:09, dominicc wrote: > On 2016/06/02 at 02:29:36, haraken wrote: > > > ...
4 years, 6 months ago (2016-06-02 09:10:34 UTC) #6
domenic
lgtm. haraken, no, you are allowed to define custom elements reentrantly, you are just not ...
4 years, 6 months ago (2016-06-02 18:52:56 UTC) #7
domenic
https://github.com/whatwg/html/pull/1333/files?w=1 is a reasonably-readable spec diff
4 years, 6 months ago (2016-06-02 18:54:06 UTC) #8
haraken
On 2016/06/02 18:52:56, domenic wrote: > lgtm. > > haraken, no, you are allowed to ...
4 years, 6 months ago (2016-06-03 05:09:20 UTC) #9
dominicc (has gone to gerrit)
On 2016/06/03 at 05:09:20, haraken wrote: > On 2016/06/02 18:52:56, domenic wrote: > > lgtm. ...
4 years, 6 months ago (2016-06-03 07:45:21 UTC) #10
dominicc (has gone to gerrit)
PTAL, this uses a different approach while keeping the script objects on the bindings side.
4 years, 6 months ago (2016-06-03 08:37:51 UTC) #11
haraken
Yeah, this looks much tidier. LGTM.
4 years, 6 months ago (2016-06-03 12:26:14 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029923003/40001
4 years, 6 months ago (2016-06-05 23:57:27 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-06 01:33:04 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-06-06 01:34:11 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c023cb478d2e9197b87b4cff28f73e2899cf0ffe
Cr-Commit-Position: refs/heads/master@{#397958}

Powered by Google App Engine
This is Rietveld 408576698