Changeset 17626 in webkit


Ignore:
Timestamp:
Nov 6, 2006 1:03:30 PM (17 years ago)
Author:
beidson
Message:

Reviewed by Oliver

Fixes <rdar://problem/4812674> and http://bugs.webkit.org/show_bug.cgi?id=11530
For now, we have to not load favicons when we have no Document - linking directly
to PDFs being the common case

  • loader/icon/IconLoader.cpp: (WebCore::IconLoader::startLoading): Check for the document and return if none
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r17622 r17626  
     12006-11-06  Brady Eidson  <beidson@apple.com>
     2
     3        Reviewed by Oliver
     4
     5        Fixes <rdar://problem/4812674> and http://bugs.webkit.org/show_bug.cgi?id=11530
     6        For now, we have to not load favicons when we have no Document - linking directly
     7        to PDFs being the common case
     8
     9        * loader/icon/IconLoader.cpp:
     10        (WebCore::IconLoader::startLoading): Check for the document and return if none
     11
    1122006-11-06  Brady Eidson  <beidson@apple.com>
    213
  • trunk/WebCore/loader/icon/IconLoader.cpp

    r17597 r17626  
    6363    m_httpStatusCode = 0;
    6464   
    65     // A frame may be documentless - one example is viewing a PDF directly
     65    // FIXME - http://bugs.webkit.org/show_bug.cgi?id=10902
     66    // Once the loader infrastructure will cleanly let us load an icon without a DocLoader, we can implement this
     67    // A frame may be documentless - one example is viewing a PDF directly.  Until the above FIXME is resolved,
     68    // we must bail out early when we have no document
    6669    if (!m_frame->document()) {
    67         // FIXME - http://bugzilla.opendarwin.org/show_bug.cgi?id=10902
    68         // Once the loader infrastructure will cleanly let us load an icon without a DocLoader, we can implement this
    6970        LOG(IconDatabase, "Documentless-frame - icon won't be loaded");
     71        return;
    7072    }
    7173   
Note: See TracChangeset for help on using the changeset viewer.