Changeset 44000

Show
Ignore:
Timestamp:
05/21/09 16:22:24 (10 months ago)
Author:
mitz@apple.com
Message:

Rubber-stamped by Mark Rowe.

Rolled out r43985.

  • platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedNonImageMimeTypes): (WebCore::MIMETypeRegistry::isSupportedNonImageMIMEType):
Location:
trunk/WebCore
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r43993 r44000  
     12009-05-21  Dan Bernstein  <mitz@apple.com> 
     2 
     3        Rubber-stamped by Mark Rowe. 
     4 
     5        - fix https://bugs.webkit.org/show_bug.cgi?id=25947 
     6          Assertion failure in FrameLoader::transitionToCommitted on launch in 
     7          Safari with r43985 
     8 
     9        Rolled out r43985. 
     10 
     11        * platform/MIMETypeRegistry.cpp: 
     12        (WebCore::initializeSupportedNonImageMimeTypes): 
     13        (WebCore::MIMETypeRegistry::isSupportedNonImageMIMEType): 
     14 
    1152009-05-21  Sam Weinig  <sam@webkit.org> 
    216 
  • trunk/WebCore/platform/MIMETypeRegistry.cpp

    r43979 r44000  
    191191    static const char* types[] = { 
    192192#if ENABLE(WML) 
     193        "text/vnd.wap.wml", 
    193194        "application/vnd.wap.wmlc", 
    194195#endif 
     196        "text/html", 
     197        "text/xml", 
     198        "text/xsl", 
     199        "text/plain", 
     200        "text/", 
    195201        "application/xml", 
    196202        "application/xhtml+xml", 
     
    384390    if (mimeType.isEmpty()) 
    385391        return false; 
    386     if (mimeType.startsWith("text/")) 
    387         return true; 
    388392    if (!supportedNonImageMIMETypes) 
    389393        initializeMIMETypeRegistry();