• psolanki@apple.com's avatar
    2011-03-16 Pratik Solanki <psolanki@apple.com> · e7d249e3
    psolanki@apple.com authored
            Reviewed by Alexey Proskuryakov.
    
            REGRESSION: Crash in adjustMIMETypeIfNecessary since r81001
            https://bugs.webkit.org/show_bug.cgi?id=56345
    
            Add test that verifies the we don't crash when an XHR response headers don't contain
            Content-Type.
    
            * http/tests/xmlhttprequest/resources/.htaccess:
            * http/tests/xmlhttprequest/resources/noContentType.asis: Added.
            * http/tests/xmlhttprequest/xmlhttprequest-no-content-type-expected.txt: Added.
            * http/tests/xmlhttprequest/xmlhttprequest-no-content-type.html: Added.
    2011-03-16  Pratik Solanki  <psolanki@apple.com>
    
            Reviewed by Alexey Proskuryakov.
    
            REGRESSION: Crash in adjustMIMETypeIfNecessary since r81001
            https://bugs.webkit.org/show_bug.cgi?id=56345
    
            Add NULL check for Content-Type header field.
    
            Test: http/tests/xmlhttprequest/xmlhttprequest-no-content-type.html
    
            * platform/network/mac/WebCoreURLResponse.mm:
            (WebCore::adjustMIMETypeIfNecessary):
    
    git-svn-id: svn://svn.chromium.org/blink/trunk@81267 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    e7d249e3
ChangeLog 1.25 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.