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