DescriptionElement::focus() should acquire the reference of LocalFrame.
FrameSelection::setSelection() may cause some DOM events to happen synchro-
nously, which could free the frame and produce a dangling pointer to the frame.
This patch extends the lifetime of the frame object and fixes this use-after-
free.
BUG=357669
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171415
Patch Set 1 #
Total comments: 2
Patch Set 2 : Use focusout event. #
Messages
Total messages: 6 (0 generated)
|