WebCore:
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Jul 2006 20:22:31 +0000 (20:22 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Jul 2006 20:22:31 +0000 (20:22 +0000)
commita8ac6d87a0d6d6ffb6ccfbbde33e528a92474185
tree73791ace3ec12c911e25428a27c425891ad294ab
parente64371e8eba4505a4aae74c5855c60330397568b
WebCore:

2006-07-18  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Darin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=9959
        REGRESSION: iframes stop rendering after 200th one on successive reloads

        * html/HTMLFrameElement.cpp:
        (WebCore::HTMLFrameElement::attach):
        (WebCore::HTMLFrameElement::close):
        * html/HTMLIFrameElement.cpp:
        (WebCore::HTMLIFrameElement::insertedIntoDocument):
        (WebCore::HTMLIFrameElement::willRemove):
        Remove calls to incrementFrameCount and decrementFrameCount.

        * page/Frame.cpp:
        (WebCore::Frame::Frame):
        Call incrementFrameCount here.

        (WebCore::Frame::~Frame):
        Call disconnectOwnerElement.

        (WebCore::Frame::disconnectOwnerElement):
        Call decrementFrameCount here.

LayoutTests:

2006-07-18  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Darin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=9959
        REGRESSION: iframes stop rendering after 200th one on successive reloads

        * fast/frames/frame-limit-expected.txt: Added.
        * fast/frames/frame-limit.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/frames/frame-limit-expected.txt [new file with mode: 0644]
LayoutTests/fast/frames/frame-limit.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/html/HTMLFrameElement.cpp
WebCore/html/HTMLIFrameElement.cpp
WebCore/page/Frame.cpp