Remove workarounds for <rdar://problem/5386894> now that it's been fixed
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 20 Aug 2007 23:04:45 +0000 (23:04 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 20 Aug 2007 23:04:45 +0000 (23:04 +0000)
commit97a4a0243aa012f4c3d36c2343dc0c05c137bdd9
treecb00df42c4d1e0b19f240762d22418a7d6fb0917
parent86bc7d021e52c22bb71fc7323d4b89cdb6a136a7
Remove workarounds for <rdar://problem/5386894> now that it's been fixed

WebCore:

        Remove workarounds for <rdar://problem/5386894> now that it's been fixed

        Reviewed by Darin.

        Tests: fast/loader/local-svg-parsed-as-svg.svg
               fast/loader/local-xhtml-parsed-as-xhtml.xhtml

        * platform/network/cf/ResourceResponseCFNet.cpp:
        (WebCore::ResourceResponse::doUpdateResourceResponse): Removed hackish
        workaround.

LayoutTests:

        Tests to ensure that local .xhtml and .svg files end up being parsed as XHTML and SVG, respectively

        Reviewed by Darin.

        * fast/loader/local-svg-parsed-as-svg-expected.txt: Added.
        * fast/loader/local-svg-parsed-as-svg.svg: Added.
        * fast/loader/local-xhtml-parsed-as-xhtml-expected.txt: Added.
        * fast/loader/local-xhtml-parsed-as-xhtml.xhtml: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25162 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/loader/local-svg-parsed-as-svg-expected.txt [new file with mode: 0644]
LayoutTests/fast/loader/local-svg-parsed-as-svg.svg [new file with mode: 0644]
LayoutTests/fast/loader/local-xhtml-parsed-as-xhtml-expected.txt [new file with mode: 0644]
LayoutTests/fast/loader/local-xhtml-parsed-as-xhtml.xhtml [new file with mode: 0644]
WebCore/ChangeLog
WebCore/platform/network/cf/ResourceResponseCFNet.cpp