angler-fishThe Vulnerability History Project

Fix 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

Review URL: https://codereview.chromium.org/1180603002

git-svn-id: svn://svn.chromium.org/blink/trunk@197139 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    
commit 02ab4913c82188af2c7e440742a11d5231dbaa0e
-6
+4 -1
+2
-4
-8
-7
expand_less