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

Issue 2416833002: Fix FlatTreeTraversal for a slot in a document tree (Closed)

Created:
4 years, 2 months ago by hayato
Modified:
4 years, 2 months ago
Reviewers:
tkent, yosin_UTC9
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof, webcomponents-bugzilla_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix FlatTreeTraversal for a slot in a document tree Fix FlatTreeTraversal so that it considers a slot in a document tree correctly. Slots in a document tree are not well supported. They need a special treatment. This CL fixes the crash reported in the bug. BUG=649576 Committed: https://crrev.com/dce2e40e8f3b783ef18e06b72c955bf59ed122d9 Cr-Commit-Position: refs/heads/master@{#425252}

Patch Set 1 #

Total comments: 6

Patch Set 2 : fix a regression #

Patch Set 3 : remove TODO #

Patch Set 4 : reland #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -5 lines) Patch
M third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp View 1 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversalTest.cpp View 1 chunk +22 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSlotElement.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSlotElement.cpp View 1 2 2 chunks +8 lines, -5 lines 0 comments Download

Messages

Total messages: 33 (18 generated)
hayato
PTAL
4 years, 2 months ago (2016-10-13 08:27:25 UTC) #7
tkent
lgtm
4 years, 2 months ago (2016-10-13 08:56:49 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/2416833002/1
4 years, 2 months ago (2016-10-13 08:59:14 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/310934)
4 years, 2 months ago (2016-10-13 09:49:17 UTC) #14
hayato
Looks there is a regression. Let me take a look.
4 years, 2 months ago (2016-10-13 11:00:32 UTC) #15
yosin_UTC9
https://codereview.chromium.org/2416833002/diff/1/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp File third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp (right): https://codereview.chromium.org/2416833002/diff/1/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp#newcode62 third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp:62: TraversalDirection direction) { BTW, how about using template function ...
4 years, 2 months ago (2016-10-14 01:44:40 UTC) #16
hayato
fix a regression
4 years, 2 months ago (2016-10-14 03:02:04 UTC) #17
hayato
remove TODO
4 years, 2 months ago (2016-10-14 03:03:53 UTC) #20
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/2416833002/40001
4 years, 2 months ago (2016-10-14 03:04:44 UTC) #26
hayato
I have fixed the regression. Some functions were renamed accordingly. https://codereview.chromium.org/2416833002/diff/1/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp File third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp (right): https://codereview.chromium.org/2416833002/diff/1/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp#newcode62 ...
4 years, 2 months ago (2016-10-14 03:05:35 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-14 04:22:21 UTC) #28
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/dce2e40e8f3b783ef18e06b72c955bf59ed122d9 Cr-Commit-Position: refs/heads/master@{#425252}
4 years, 2 months ago (2016-10-14 04:26:51 UTC) #30
johnme
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2420883002/ by johnme@chromium.org. ...
4 years, 2 months ago (2016-10-14 11:21:42 UTC) #31
hayato
This CL is not culprit because the tests still fail after reverting the CL: https://build.chromium.org/p/chromium.android/builders/Marshmallow%20Tablet%20Tester/builds/5892 ...
4 years, 2 months ago (2016-10-17 04:08:36 UTC) #32
hayato
4 years, 2 months ago (2016-10-17 04:21:38 UTC) #33
Message was sent while issue was closed.
reland

Powered by Google App Engine
This is Rietveld 408576698