Changeset 29370 in webkit


Ignore:
Timestamp:
Jan 10, 2008, 1:33:19 PM (18 years ago)
Author:
ap@webkit.org
Message:

Reviewed by Adam Roben.

<rdar://problem/5667003> fast/dom/xmlhttprequest-html-response-encoding.html is failing

  • xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::send): Do not disable sniffing for file:// requests, as CFNetwork doesn't perform extension to MIME type mapping then.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r29365 r29370  
     12008-01-10  Alexey Proskuryakov  <ap@webkit.org>
     2
     3        Reviewed by Adam Roben.
     4
     5        <rdar://problem/5667003> fast/dom/xmlhttprequest-html-response-encoding.html is failing
     6
     7        * platform/win/Skipped: Remove the fixed test.
     8
    192008-01-10  Kevin McCullough  <kmccullough@apple.com>
    210
  • trunk/LayoutTests/platform/win/Skipped

    r29365 r29370  
    365365svg/custom/use-css-no-effect-on-shadow-tree.svg
    366366
    367 # <rdar://5667003> Undefined value exception
    368 fast/dom/xmlhttprequest-html-response-encoding.html
    369 
    370367# <rdar://5667007> 2 SVG text tests failing (due to bad rounding?)
    371368svg/batik/text/textOnPath.svg
  • trunk/WebCore/ChangeLog

    r29369 r29370  
     12008-01-10  Alexey Proskuryakov  <ap@webkit.org>
     2
     3        Reviewed by Adam Roben.
     4
     5        <rdar://problem/5667003> fast/dom/xmlhttprequest-html-response-encoding.html is failing
     6
     7        * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::send): Do not disable sniffing for file://
     8        requests, as CFNetwork doesn't perform extension to MIME type mapping then.
     9
    1102008-01-10  Adam Roben  <aroben@apple.com>
    211
  • trunk/WebCore/xml/XMLHttpRequest.cpp

    r29073 r29370  
    475475    }
    476476 
    477     // create can return null here, for example if we're no longer attached to a page.
    478     // this is true while running onunload handlers
    479     // FIXME: Maybe create can return false for other reasons too?
    480     m_loader = SubresourceLoader::create(m_doc->frame(), this, request, false, true, false);
     477    // SubresourceLoader::create can return null here, for example if we're no longer attached to a page.
     478    // This is true while running onunload handlers.
     479    // FIXME: We need to be able to send XMLHttpRequests from onunload, <http://bugs.webkit.org/show_bug.cgi?id=10904>.
     480    // FIXME: Maybe create can return null for other reasons too?
     481    // We need to keep content sniffing enabled for local files due to CFNetwork not providing a MIME type
     482    // for local files otherwise, <rdar://problem/5671813>.
     483    m_loader = SubresourceLoader::create(m_doc->frame(), this, request, false, true, request.url().isLocalFile());
    481484}
    482485
Note: See TracChangeset for help on using the changeset viewer.