WebCore:
authordglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Feb 2009 21:07:00 +0000 (21:07 +0000)
committerdglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 Feb 2009 21:07:00 +0000 (21:07 +0000)
commitb3e0eb00ef5af3e196853d589c320eb1fe430cda
treed0377ce731b68d3a9ae0aa6b73ef9ed65243b44c
parenta0a85b40272cea14f84ff25e471eb6e59ff12426
WebCore:

2009-02-09  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Dave Hyatt.

        https://bugs.webkit.org/show_bug.cgi?id=23806
        Fix a regression crash where an empty src value and a "text/html" type
        on an EMBED element did not finish ResourceRequest initialization due to
        an early return.

        Test: fast/loader/empty-embed-src-attribute.html

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::addExtraFieldsToRequest):

LayoutTests:

2009-02-09  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Dave Hyatt.

        https://bugs.webkit.org/show_bug.cgi?id=23806
        New test for the crash with an embed element with an empty src and
        "text/html" type.

        * fast/loader/empty-embed-src-attribute-expected.txt: Added.
        * fast/loader/empty-embed-src-attribute.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@40792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/loader/empty-embed-src-attribute-expected.txt [new file with mode: 0644]
LayoutTests/fast/loader/empty-embed-src-attribute.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/loader/FrameLoader.cpp