DescriptionFix the logic that limits the number of frames in a page.
This check apparently doesn't run soon enough, and we can create more than the
intended limit of 1000 frames. Once we hit 1024,
NodeRareData::m_connecetedFrameCount can overflow and we no longer fully detach
Frames from their owners at teardown.
BUG=493243
TEST=WebFrameTest.MaxFramesDetach
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197139
Patch Set 1 #
Total comments: 2
Patch Set 2 : Assert against maxNumberOfFrames, add unit test #Patch Set 3 : Rebase #Patch Set 4 : +UAF #
Messages
Total messages: 12 (3 generated)
|