Changeset 203392 in webkit
- Timestamp:
- Jul 18, 2016, 7:02:37 PM (9 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r203391 r203392 1 2016-07-18 Alex Christensen <achristensen@webkit.org> 2 3 webbookmarksd needs to use the same AppCache directory as MobileSafari 4 https://bugs.webkit.org/show_bug.cgi?id=159912 5 6 Reviewed by Alexey Proskuryakov. 7 8 No new tests. This only changes behavior for webbookmarksd. 9 10 * platform/RuntimeApplicationChecks.h: 11 * platform/RuntimeApplicationChecks.mm: 12 (WebCore::IOSApplication::isWebBookmarksD): Added. 13 1 14 2016-07-18 Chris Dumez <cdumez@apple.com> 2 15 -
trunk/Source/WebCore/platform/RuntimeApplicationChecks.h
r202719 r203392 63 63 WEBCORE_EXPORT bool isMobileMail(); 64 64 WEBCORE_EXPORT bool isMobileSafari(); 65 WEBCORE_EXPORT bool isWebBookmarksD(); 65 66 bool isDumpRenderTree(); 66 67 bool isMobileStore(); -
trunk/Source/WebCore/platform/RuntimeApplicationChecks.mm
r202719 r203392 171 171 } 172 172 173 bool IOSApplication::isWebBookmarksD() 174 { 175 static bool isWebBookmarksD = applicationBundleIsEqualTo("com.apple.webbookmarksd"); 176 return isWebBookmarksD; 177 } 178 173 179 bool IOSApplication::isDumpRenderTree() 174 180 { -
trunk/Source/WebKit2/ChangeLog
r203387 r203392 1 2016-07-18 Alex Christensen <achristensen@webkit.org> 2 3 webbookmarksd needs to use the same AppCache directory as MobileSafari 4 https://bugs.webkit.org/show_bug.cgi?id=159912 5 <rdar://problem/27056844> 6 7 Reviewed by Alexey Proskuryakov. 8 9 * UIProcess/API/Cocoa/APIWebsiteDataStoreCocoa.mm: 10 (API::WebsiteDataStore::defaultApplicationCacheDirectory): 11 Make webbookmarksd match MobileSafari by adding a matching runtime exception. 12 1 13 2016-07-18 Anders Carlsson <andersca@apple.com> 2 14 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/APIWebsiteDataStoreCocoa.mm
r199854 r203392 41 41 // This quirk used to make these apps share application cache storage, but doesn't accomplish that any more. 42 42 // Preserving it avoids the need to migrate data when upgrading. 43 // FIXME: Ideally we should just have Safari and WebAppcreate a data store with43 // FIXME: Ideally we should just have Safari, WebApp, and webbookmarksd create a data store with 44 44 // this application cache path, but that's not supported as of right now. 45 if (WebCore::IOSApplication::isMobileSafari() || WebCore::IOSApplication::isWebApp() ) {45 if (WebCore::IOSApplication::isMobileSafari() || WebCore::IOSApplication::isWebApp() || WebCore::IOSApplication::isWebBookmarksD()) { 46 46 NSString *cachePath = [NSHomeDirectory() stringByAppendingPathComponent:@"Library/Caches/com.apple.WebAppCache"]; 47 47
Note:
See TracChangeset
for help on using the changeset viewer.