Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(93)

Issue 1175173002: Simplify inDetach() assert and make it stronger. (Closed)

Created:
4 years, 10 months ago by esprehn
Modified:
4 years, 10 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Simplify inDetach() assert and make it stronger. Instead of just checking inDetach() on a single node at a time, just forbid setFocusedElement from running at all inside ::detach since it's never okay to do that. This also allows adding future asserts about what code cannot be run inside ::detach. R=timloh@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196988

Patch Set 1 #

Patch Set 2 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -28 lines) Patch
M Source/core/dom/Document.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/dom/DocumentLifecycle.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/Node.h View 1 chunk +0 lines, -4 lines 0 comments Download
M Source/core/dom/Node.cpp View 1 1 chunk +0 lines, -22 lines 0 comments Download

Messages

Total messages: 15 (8 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/1175173002/1
4 years, 10 months ago (2015-06-11 17:30:38 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2015-06-11 18:57:26 UTC) #5
dglazkov
lgtm
4 years, 10 months ago (2015-06-11 23:03:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1175173002/1
4 years, 10 months ago (2015-06-11 23:04:07 UTC) #9
commit-bot: I haz the power
Failed to apply patch for Source/core/dom/Node.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
4 years, 10 months ago (2015-06-11 23:08:09 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1175173002/20001
4 years, 10 months ago (2015-06-12 00:16:35 UTC) #14
commit-bot: I haz the power
4 years, 10 months ago (2015-06-12 02:03:34 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196988

Powered by Google App Engine
This is Rietveld 408576698