Changeset 243222 in webkit
- Timestamp:
- Mar 20, 2019, 12:01:32 PM (7 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
NetworkProcess/Classifier/ResourceLoadStatisticsStore.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r243221 r243222 1 2019-03-20 John Wilander <wilander@apple.com> 2 3 (Test fix) Override minimumTimeBetweenDataRecordsRemoval in ResourceLoadStatisticsStore::shouldRemoveDataRecord() during layout tests 4 https://bugs.webkit.org/show_bug.cgi?id=196017 5 6 Unreviewed test fix. 7 8 This patch adds a check of parameters().isRunningTest to the return of 9 ResourceLoadStatisticsStore::shouldRemoveDataRecord() to allow successive 10 layout tests to remove website data, effectively overriding the 11 minimumTimeBetweenDataRecordsRemoval setting. 12 13 * NetworkProcess/Classifier/ResourceLoadStatisticsStore.cpp: 14 (WebKit::ResourceLoadStatisticsStore::shouldRemoveDataRecords const): 15 1 16 2019-03-20 Daniel Bates <dabates@apple.com> 2 17 -
trunk/Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsStore.cpp
r243181 r243222 407 407 #endif 408 408 409 return !m_lastTimeDataRecordsWereRemoved || MonotonicTime::now() >= (m_lastTimeDataRecordsWereRemoved + m_parameters.minimumTimeBetweenDataRecordsRemoval) ;409 return !m_lastTimeDataRecordsWereRemoved || MonotonicTime::now() >= (m_lastTimeDataRecordsWereRemoved + m_parameters.minimumTimeBetweenDataRecordsRemoval) || parameters().isRunningTest; 410 410 } 411 411
Note:
See TracChangeset
for help on using the changeset viewer.