Changeset 136148 in webkit
- Timestamp:
- Nov 29, 2012, 12:15:27 PM (14 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/blackberry/CookieManager.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r136147 r136148 1 2012-11-29 Otto Derek Cheung <otcheung@rim.com> 2 3 [BlackBerry] Cookies in private mode should not have access to public cookies 4 https://bugs.webkit.org/show_bug.cgi?id=103649 5 6 Reviewed by Rob Buis. 7 8 PR 253983 9 10 When CookieManager switches back from public to private mode, 11 we will clear the cookie tree so the browser won't have access 12 to the public cookies. 13 14 Tested using browser.swlab.rim.net cookie tests and the steps in 15 the PR. 16 17 * platform/blackberry/CookieManager.cpp: 18 (WebCore::CookieManager::setPrivateMode): 19 1 20 2012-11-29 Brent Fulgham <bfulgham@gmail.com> 2 21 -
trunk/Source/WebCore/platform/blackberry/CookieManager.cpp
r133964 r136148 503 503 } 504 504 505 void CookieManager::setPrivateMode(bool mode)506 { 507 if (m_privateMode == mode)505 void CookieManager::setPrivateMode(bool privateMode) 506 { 507 if (m_privateMode == privateMode) 508 508 return; 509 509 510 m_privateMode = mode; 511 if (!mode) { 512 removeAllCookies(DoNotRemoveFromBackingStore); 510 m_privateMode = privateMode; 511 512 removeAllCookies(DoNotRemoveFromBackingStore); 513 514 // If we are switching back to public mode, reload the database to memory. 515 if (!m_privateMode) 513 516 getBackingStoreCookies(); 514 }515 517 } 516 518
Note:
See TracChangeset
for help on using the changeset viewer.