DescriptionSimplify 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. #
Messages
Total messages: 15 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||