Changeset 229736 in webkit
- Timestamp:
- Mar 19, 2018 7:34:25 PM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r229735 r229736 1 2018-03-19 Chris Dumez <cdumez@apple.com> 2 3 WKWebView.ClearAppCache is a flaky API test failure on High Sierra. 4 https://bugs.webkit.org/show_bug.cgi?id=181546 5 <rdar://problem/36444327> 6 7 Reviewed by Ryosuke Niwa. 8 9 in LocalStorageDatabaseTracker::deleteDatabasesModifiedSince(), add origin 10 to originIdentifiersToDelete if we cannot determine the last modification 11 time of the database file. This likely means the database file does not 12 exist. However, we still needs to make sure the origin gets removed from 13 the origins database and there may be *.wal / *.shm variants of the database 14 that are still on disk and need to be deleted. 15 16 * UIProcess/WebStorage/LocalStorageDatabaseTracker.cpp: 17 (WebKit::LocalStorageDatabaseTracker::deleteDatabasesModifiedSince): 18 1 19 2018-03-19 Chris Dumez <cdumez@apple.com> 2 20 -
trunk/Source/WebKit/UIProcess/WebStorage/LocalStorageDatabaseTracker.cpp
r226349 r229736 153 153 154 154 auto modificationTime = FileSystem::getFileModificationTime(filePath); 155 if (!modificationTime) 156 continue; 157 158 if (modificationTime.value() >= time) 155 if (!modificationTime || modificationTime.value() >= time) 159 156 originIdentifiersToDelete.append(origin); 160 157 }
Note: See TracChangeset
for help on using the changeset viewer.