DescriptionFix crash when an onorientationchange event detaches an iframe.
Collect all of the frames that need onorientationchange before firing any of the events. If a frame gets detached, frame->localDOMWindow()->frame() will be null, and the recursive invocation will crash.
BUG=492432, 466485
TEST=WebFrameTest.OrientationFrameDetach
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196895
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Messages
Total messages: 10 (3 generated)
|
|||||||||||||||||||||||||||||||||||||