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

Changeset 181634 in webkit


Ignore:
Timestamp:
Mar 17, 2015, 4:43:12 AM (11 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r181565 - 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:
releases/WebKitGTK/webkit-2.8/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.8/Source/WebCore/ChangeLog

    r181632 r181634  
     12015-03-16  Brady Eidson  <beidson@apple.com>
     2
     3        Addressing additional review feedback after http://trac.webkit.org/changeset/181565
     4        https://bugs.webkit.org/show_bug.cgi?id=142604
     5
     6        Reviewed by Darin Adler.
     7
     8        * loader/icon/IconController.cpp:
     9        (WebCore::IconController::startLoader): Null check page()
     10
     112015-03-16  Brady Eidson  <beidson@apple.com>
     12
     13        URLs visited during private browsing show up in WebpageIcons.db
     14        rdar://problem/11254910 and https://bugs.webkit.org/show_bug.cgi?id=142733
     15
     16        Patch by Sam Weinig. Reviewed by Brady Eidson.
     17
     18        * loader/icon/IconController.cpp:
     19        (WebCore::IconController::startLoader): Bail early here if the page is using an ephemeral session.
     20        (WebCore::IconController::continueLoadWithDecision): Instead of here.
     21
    1222015-03-16  Max Stepin  <maxstepin@gmail.com>
    223
  • releases/WebKitGTK/webkit-2.8/Source/WebCore/loader/icon/IconController.cpp

    r170134 r181634  
    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() && 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.