Changeset 230619 in webkit


Ignore:
Timestamp:
Apr 12, 2018 6:27:54 PM (6 years ago)
Author:
commit-queue@webkit.org
Message:

[Curl] Cookie Database on memory path should be :memory:
https://bugs.webkit.org/show_bug.cgi?id=184572

Patch by Christopher Reid <chris.reid@sony.com> on 2018-04-12
Reviewed by Alex Christensen.

CookieJarDB::isOnMemory is comparing the database path with :onmemory: but it should be using :memory:
For reference, see: https://www.sqlite.org/inmemorydb.html

  • platform/network/curl/CookieJarDB.h:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r230616 r230619  
     12018-04-12  Christopher Reid  <chris.reid@sony.com>
     2
     3        [Curl] Cookie Database on memory path should be :memory:
     4        https://bugs.webkit.org/show_bug.cgi?id=184572
     5
     6        Reviewed by Alex Christensen.
     7
     8        CookieJarDB::isOnMemory is comparing the database path with :onmemory: but it should be using :memory:
     9        For reference, see: https://www.sqlite.org/inmemorydb.html
     10
     11        * platform/network/curl/CookieJarDB.h:
     12
    1132018-04-12  Daniel Bates  <dabates@apple.com>
    214
  • trunk/Source/WebCore/platform/network/curl/CookieJarDB.h

    r229132 r230619  
    6363    bool m_detectedDatabaseCorruption {false};
    6464
    65     bool isOnMemory() const { return (m_databasePath == ":onmemory:"); };
     65    bool isOnMemory() const { return (m_databasePath == ":memory:"); };
    6666
    6767    bool openDatabase();
Note: See TracChangeset for help on using the changeset viewer.