WebCore:
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 15 Jul 2006 09:04:43 +0000 (09:04 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 15 Jul 2006 09:04:43 +0000 (09:04 +0000)
commit565033652be0203a427be75e9f858fd1c077472b
treebd690b1d79ee296c5dd424cdb484669bd465dc28
parent077cb8d539c7640b98b285a88e20f8570c780c5b
WebCore:

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

        Reviewed by Darin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=9866
        <rdar://problem/4631561>
        REGRESSION: Repro crash from mangleme using iframe, only from server.

        * html/HTMLIFrameElement.cpp:
        (WebCore::HTMLIFrameElement::attach):
        Add null check for contentFrame() since content frames won't be created for invalid URLs.

LayoutTests:

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

        Reviewed by Darin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=9866
        <rdar://problem/4631561>
        REGRESSION: Repro crash from mangleme using iframe, only from server.

        * http/tests/misc/iframe-invalid-source-crash-expected.txt: Added.
        * http/tests/misc/iframe-invalid-source-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15450 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/misc/iframe-invalid-source-crash-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/misc/iframe-invalid-source-crash.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/html/HTMLIFrameElement.cpp