⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 181565 in webkit


Ignore:
Timestamp:
Mar 16, 2015, 10:52:30 AM (11 years ago)
Author:
beidson@apple.com
Message:

URLs visited during private browsing show up in WebpageIcons.db
rdar://problem/11254910 and https://bugs.webkit.org/show_bug.cgi?id=142733

Patch by Sam Weinig. Reviewed by Brady Eidson.

  • loader/icon/IconController.cpp:

(WebCore::IconController::startLoader): Bail early here if the page is using an ephemeral session.
(WebCore::IconController::continueLoadWithDecision): Instead of here.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r181562 r181565  
     12015-03-16  Brady Eidson  <beidson@apple.com>
     2
     3        URLs visited during private browsing show up in WebpageIcons.db
     4        rdar://problem/11254910 and https://bugs.webkit.org/show_bug.cgi?id=142733
     5
     6        Patch by Sam Weinig. Reviewed by Brady Eidson.
     7
     8        * loader/icon/IconController.cpp:
     9        (WebCore::IconController::startLoader): Bail early here if the page is using an ephemeral session.
     10        (WebCore::IconController::continueLoadWithDecision): Instead of here.
     11
    1122015-03-16  Conrad Shultz  <conrad_shultz@apple.com>
    213
  • trunk/Source/WebCore/loader/icon/IconController.cpp

    r170134 r181565  
    161161
    162162    if (iconDatabase().supportsAsynchronousMode()) {
     163        // FIXME (<rdar://problem/9168605>) - We should support in-memory-only private browsing icons in asynchronous icon database mode.
     164        if (m_frame.page()->usesEphemeralSession())
     165            return;
     166
    163167        m_frame.loader().documentLoader()->getIconLoadDecisionForIconURL(urlString);
    164168        // Commit the icon url mapping to the database just in case we don't end up loading later.
     
    203207{
    204208    ASSERT(iconLoadDecision != IconLoadUnknown);
    205 
    206     //  FIXME (<rdar://problem/9168605>) - We should support in-memory-only private browsing icons in asynchronous icon database mode.
    207     if (iconDatabase().supportsAsynchronousMode() && m_frame.page()->usesEphemeralSession())
    208         return;
    209209
    210210    if (iconLoadDecision == IconLoadNo) {
Note: See TracChangeset for help on using the changeset viewer.