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

Issue 2023093003: Upgrade in-document custom elements when an element is defined. (Closed)

Created:
4 years, 6 months ago by dominicc (has gone to gerrit)
Modified:
4 years, 6 months ago
Reviewers:
yosin_UTC9, kojii
CC:
blink-reviews, 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

Upgrade in-document custom elements when an element is defined. BUG=594918 Committed: https://crrev.com/c561a337b93cf622ea0bd4f066e7e74f30ca7c3d Cr-Commit-Position: refs/heads/master@{#397660}

Patch Set 1 #

Total comments: 25

Patch Set 2 : Addresses feedback. #

Total comments: 1

Patch Set 3 : Address feedback. #

Total comments: 6

Patch Set 4 : More feedback. #

Total comments: 1

Patch Set 5 : Fix ASAN failure in test helper. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+783 lines, -65 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 2 3 4 3 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 1 2 2 chunks +10 lines, -2 lines 0 comments Download
A third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h View 1 2 3 1 chunk +56 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/dom/custom/CEReactionsScope.cpp View 1 2 3 1 chunk +32 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElement.h View 2 chunks +28 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElement.cpp View 1 chunk +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h View 1 2 3 4 2 chunks +22 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElementDescriptor.h View 3 chunks +24 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElementDescriptorTest.cpp View 2 chunks +40 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElementReactionTestHelpers.h View 1 2 3 5 chunks +6 lines, -6 lines 0 comments Download
A third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeReaction.h View 1 2 3 1 chunk +33 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeReaction.cpp View 1 1 chunk +31 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeSorterTest.cpp View 1 2 2 chunks +11 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.h View 1 2 3 4 4 chunks +27 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/dom/custom/CustomElementsRegistry.cpp View 1 2 3 4 5 chunks +73 lines, -14 lines 0 comments Download
A third_party/WebKit/Source/core/dom/custom/CustomElementsRegistryTest.cpp View 1 2 3 4 1 chunk +319 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameHost.h View 3 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameHost.cpp View 4 chunks +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 28 (9 generated)
dominicc (has gone to gerrit)
PTAL This is just the core/dom side of in-document upgrade. I have the script side ...
4 years, 6 months ago (2016-06-01 04:49:23 UTC) #2
yosin_UTC9
https://codereview.chromium.org/2023093003/diff/1/third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h File third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h (right): https://codereview.chromium.org/2023093003/diff/1/third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h#newcode23 third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h:23: WTF_MAKE_NONCOPYABLE(CEReactionsScope); nit: Better to use DISALLOW_COPY_AND_ASSIGN(CEReactionScope) https://codereview.chromium.org/2023093003/diff/1/third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h#newcode30 third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h:30: CEReactionsScope() ...
4 years, 6 months ago (2016-06-01 06:15:45 UTC) #3
dominicc (has gone to gerrit)
Thank you for the review, PTAL. No comment = Done! Some replies inline. https://codereview.chromium.org/2023093003/diff/1/third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h File ...
4 years, 6 months ago (2016-06-01 23:30:57 UTC) #4
kojii
lgtm
4 years, 6 months ago (2016-06-02 01:30:44 UTC) #5
yosin_UTC9
https://codereview.chromium.org/2023093003/diff/1/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp File third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp (right): https://codereview.chromium.org/2023093003/diff/1/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp#newcode28 third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp:28: m_constructionStack.append(element); On 2016/06/01 at 23:30:56, dominicc wrote: > On ...
4 years, 6 months ago (2016-06-02 02:02:18 UTC) #6
dominicc (has gone to gerrit)
PTAL Thank you for all of the feedback. I really like your assertion wording. Thanks ...
4 years, 6 months ago (2016-06-02 02:50:48 UTC) #7
yosin_UTC9
https://codereview.chromium.org/2023093003/diff/40001/third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h File third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h (right): https://codereview.chromium.org/2023093003/diff/40001/third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h#newcode49 third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h:49: static CEReactionsScope* top = nullptr; It is better to ...
4 years, 6 months ago (2016-06-02 04:06:38 UTC) #8
yosin_UTC9
https://codereview.chromium.org/2023093003/diff/40001/third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h File third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h (right): https://codereview.chromium.org/2023093003/diff/40001/third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h#newcode49 third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h:49: static CEReactionsScope* top = nullptr; On 2016/06/02 at 04:06:38, ...
4 years, 6 months ago (2016-06-02 04:13:51 UTC) #9
dominicc (has gone to gerrit)
On 2016/06/02 at 04:06:38, yosin wrote: > https://codereview.chromium.org/2023093003/diff/40001/third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h > File third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h (right): > > https://codereview.chromium.org/2023093003/diff/40001/third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h#newcode49 ...
4 years, 6 months ago (2016-06-02 05:40:19 UTC) #10
yosin_UTC9
lgtm My comments are mostly personal preferences. https://codereview.chromium.org/2023093003/diff/60001/third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h File third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h (right): https://codereview.chromium.org/2023093003/diff/60001/third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h#newcode25 third_party/WebKit/Source/core/dom/custom/CEReactionsScope.h:25: static CEReactionsScope* ...
4 years, 6 months ago (2016-06-02 07:16:02 UTC) #11
dominicc (has gone to gerrit)
On 2016/06/02 at 07:16:02, yosin wrote: > lgtm > > My comments are mostly personal ...
4 years, 6 months ago (2016-06-02 07:25:29 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023093003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023093003/60001
4 years, 6 months ago (2016-06-02 07:27:06 UTC) #15
dominicc (has gone to gerrit)
On 2016/06/02 at 07:25:29, dominicc wrote: > On 2016/06/02 at 07:16:02, yosin wrote: > > ...
4 years, 6 months ago (2016-06-02 07:27:56 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/171182)
4 years, 6 months ago (2016-06-02 09:01:43 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023093003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023093003/60001
4 years, 6 months ago (2016-06-03 04:29:05 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/171917)
4 years, 6 months ago (2016-06-03 04:36:14 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023093003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2023093003/80001
4 years, 6 months ago (2016-06-03 06:19:14 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-03 08:11:46 UTC) #26
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 08:12:56 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c561a337b93cf622ea0bd4f066e7e74f30ca7c3d
Cr-Commit-Position: refs/heads/master@{#397660}

Powered by Google App Engine
This is Rietveld 408576698