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

Issue 1711673002: Do not use Node in FocusController, 2nd (Closed)

Created:
4 years, 10 months ago by hayato
Modified:
4 years, 9 months ago
Reviewers:
tkent, yuzuchan, kochi
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@focus-navigation-no-longer-shadowroot
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not use Node in FocusController, 2nd This is one of the series of patches. See the bug for the motivation. - 1st CL is here: https://codereview.chromium.org/1704333002/ BUG=587743 Committed: https://crrev.com/513d58f7d6622a3c8897d911f3a67f6c57f23fc6 Cr-Commit-Position: refs/heads/master@{#376414}

Patch Set 1 #

Patch Set 2 : rebased #

Total comments: 2

Patch Set 3 : fix #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -15 lines) Patch
M third_party/WebKit/Source/core/page/FocusController.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/FocusController.cpp View 1 2 5 chunks +25 lines, -14 lines 2 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 30 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1711673002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1711673002/1
4 years, 10 months ago (2016-02-18 12:33:28 UTC) #2
hayato
rebased
4 years, 10 months ago (2016-02-18 12:38:53 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1711673002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1711673002/20001
4 years, 10 months ago (2016-02-18 12:40:08 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-18 13:43:28 UTC) #7
hayato
PTAL
4 years, 10 months ago (2016-02-19 04:27:00 UTC) #10
kochi
Could you write even one-line description of what this CL does? (referring to the other ...
4 years, 10 months ago (2016-02-19 06:11:33 UTC) #11
hayato
fix
4 years, 10 months ago (2016-02-19 06:20:22 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1711673002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1711673002/40001
4 years, 10 months ago (2016-02-19 06:20:52 UTC) #14
hayato
Thank you for the review. FYI. The 3rd is ready to be reviewed: https://codereview.chromium.org/1707373002/ Could ...
4 years, 10 months ago (2016-02-19 06:22:54 UTC) #15
kochi
hmm, the subject (the first line in the description) says the summary and all other ...
4 years, 10 months ago (2016-02-19 06:44:23 UTC) #16
hayato
I've updated the description. I think the referring to the bug is good enough in ...
4 years, 10 months ago (2016-02-19 06:56:39 UTC) #18
kochi
On 2016/02/19 06:56:39, hayato wrote: > I've updated the description. I think the referring to ...
4 years, 10 months ago (2016-02-19 07:01:57 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1711673002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1711673002/40001
4 years, 10 months ago (2016-02-19 07:22:48 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-19 07:37:28 UTC) #24
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/513d58f7d6622a3c8897d911f3a67f6c57f23fc6 Cr-Commit-Position: refs/heads/master@{#376414}
4 years, 10 months ago (2016-02-19 07:38:53 UTC) #26
tkent
https://codereview.chromium.org/1711673002/diff/40001/third_party/WebKit/Source/core/page/FocusController.cpp File third_party/WebKit/Source/core/page/FocusController.cpp (right): https://codereview.chromium.org/1711673002/diff/40001/third_party/WebKit/Source/core/page/FocusController.cpp#newcode539 third_party/WebKit/Source/core/page/FocusController.cpp:539: return (type == WebFocusTypeForward) ? ElementTraversal::next(*node) : ElementTraversal::previous(*node); If ...
4 years, 10 months ago (2016-02-22 06:07:08 UTC) #28
hayato
On 2016/02/22 06:07:08, tkent wrote: > https://codereview.chromium.org/1711673002/diff/40001/third_party/WebKit/Source/core/page/FocusController.cpp > File third_party/WebKit/Source/core/page/FocusController.cpp (right): > > https://codereview.chromium.org/1711673002/diff/40001/third_party/WebKit/Source/core/page/FocusController.cpp#newcode539 > ...
4 years, 10 months ago (2016-02-24 03:36:31 UTC) #29
hayato
4 years, 9 months ago (2016-03-15 07:08:16 UTC) #30
Message was sent while issue was closed.
https://codereview.chromium.org/1711673002/diff/40001/third_party/WebKit/Sour...
File third_party/WebKit/Source/core/page/FocusController.cpp (right):

https://codereview.chromium.org/1711673002/diff/40001/third_party/WebKit/Sour...
third_party/WebKit/Source/core/page/FocusController.cpp:740:
ASSERT(document->documentElement());
I guess this assertion is not always true and this is the cause of the crash.
See https://bugs.chromium.org/p/chromium/issues/detail?id=594841

Powered by Google App Engine
This is Rietveld 408576698