LayoutTests:
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Feb 2007 21:47:18 +0000 (21:47 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Feb 2007 21:47:18 +0000 (21:47 +0000)
commitc6ec7b76ddd3e649799f7bfbdcd35a9481a7c8bc
tree1dd6a089c958f0c58e9b004c1ca4c5651d5ff3a9
parentfe6b453187ec45a6addbca44e32680a2c3792093
LayoutTests:

        Reviewed by Kevin Decker.

        <rdar://problem/4990049>
        http://bugs.webkit.org/show_bug.cgi?id=12718
        REGRESSION: Segmentation fault when loading abc.go.com (12718)

        * http/tests/misc/redirect-to-about-blank-expected.txt: Added.
        * http/tests/misc/redirect-to-about-blank.html: Added.
        * http/tests/misc/resources/redirect-to-about-blank.php: Added.

WebCore:

        Reviewed by Kevin Decker.

        <rdar://problem/4990049>
        http://bugs.webkit.org/show_bug.cgi?id=12718
        REGRESSION: Segmentation fault when loading abc.go.com (12718)

        The problem is that redirecting to about:blank causes the delegate to be released even though the load wasn't finished.
        This is usally not a problem since NSURLConnection retains its delegate. However, the proxy delegate does not retain _it's_
        delegate. The solution is to make releaseDelegate clear out the proxy delegate's delegate.

        * platform/network/mac/ResourceHandleMac.mm:
        (WebCore::ResourceHandle::releaseDelegate):
        If there's a proxy, nil out its delegate too.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/misc/redirect-to-about-blank-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/misc/redirect-to-about-blank.html [new file with mode: 0644]
LayoutTests/http/tests/misc/resources/redirect-to-about-blank.php [new file with mode: 0644]
WebCore/ChangeLog
WebCore/platform/network/mac/ResourceHandleMac.mm