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

Issue 2097463002: Add backup element queue to CustomElementReactionStack (Closed)

Created:
4 years, 6 months ago by kojii
Modified:
4 years, 5 months ago
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

Add backup element queue to CustomElementReactionStack This patch adds a backup element queue[1], which is to be added to the spec in PR[2]. The attached test not only fail but also crashes without this change. [1] https://html.spec.whatwg.org/multipage/scripting.html#backup-element-queue [2] https://github.com/whatwg/html/pull/1412 BUG=594918 Committed: https://crrev.com/159d66f36734dab8cfd79c6ae788b94fca8a213a Cr-Commit-Position: refs/heads/master@{#402776}

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : cleanup #

Patch Set 4 : dominicc review #

Patch Set 5 : CEReactionsScope::currentCustomElementReactionStack #

Patch Set 6 : Fix tests #

Total comments: 4

Patch Set 7 : dominicc review #

Total comments: 2

Patch Set 8 : dominicc nits #

Messages

Total messages: 15 (5 generated)
kojii
PTAL.
4 years, 6 months ago (2016-06-24 03:45:39 UTC) #3
domenic
This doesn't seem to implement the reentrancy protection of the spec's proposed "processing the backup ...
4 years, 6 months ago (2016-06-24 15:33:51 UTC) #4
kojii
On 2016/06/24 at 15:33:51, domenic wrote: > This doesn't seem to implement the reentrancy protection ...
4 years, 5 months ago (2016-06-27 02:44:51 UTC) #5
dominicc (has gone to gerrit)
Thanks for working on this; I think this needs work. Comments inline should explain but ...
4 years, 5 months ago (2016-06-28 03:37:14 UTC) #6
kojii
All done, PTAL. https://codereview.chromium.org/2097463002/diff/100001/third_party/WebKit/Source/core/dom/custom/CEReactionsScope.cpp File third_party/WebKit/Source/core/dom/custom/CEReactionsScope.cpp (right): https://codereview.chromium.org/2097463002/diff/100001/third_party/WebKit/Source/core/dom/custom/CEReactionsScope.cpp#newcode19 third_party/WebKit/Source/core/dom/custom/CEReactionsScope.cpp:19: if (!s_topOfStack) On 2016/06/28 at 03:37:13, ...
4 years, 5 months ago (2016-06-28 04:19:04 UTC) #7
dominicc (has gone to gerrit)
lgtm Nice, a couple of nits inline. https://codereview.chromium.org/2097463002/diff/120001/third_party/WebKit/LayoutTests/custom-elements/clone-contenteditable.html File third_party/WebKit/LayoutTests/custom-elements/clone-contenteditable.html (right): https://codereview.chromium.org/2097463002/diff/120001/third_party/WebKit/LayoutTests/custom-elements/clone-contenteditable.html#newcode33 third_party/WebKit/LayoutTests/custom-elements/clone-contenteditable.html:33: }, 'clone-a-node ...
4 years, 5 months ago (2016-06-29 07:19:54 UTC) #8
kojii
Thank you for the review, all done in PS8.
4 years, 5 months ago (2016-06-29 09:41:58 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2097463002/140001
4 years, 5 months ago (2016-06-29 09:42:21 UTC) #12
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 5 months ago (2016-06-29 11:19:45 UTC) #13
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 11:21:38 UTC) #15
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/159d66f36734dab8cfd79c6ae788b94fca8a213a
Cr-Commit-Position: refs/heads/master@{#402776}

Powered by Google App Engine
This is Rietveld 408576698