Add a setting to let the client toggle support for network cache speculative validation.
Planning to have the setting off by default.
<rdar://problem/25233209>
<rdar://problem/25233210>
Make sure this is not implemented as a WKPreference in the modern API.
Created attachment 274455 [details] WIP patch
Created attachment 274467 [details] Patch
Comment on attachment 274467 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=274467&action=review > Source/WebKit2/UIProcess/Cocoa/WebProcessPoolCocoa.mm:251 > + parameters.shouldEnableNetworkCacheSpeculativeRevalidation = m_configuration->diskCacheSpeculativeValidationEnabled() && [defaults boolForKey:WebKitNetworkCacheSpeculativeRevalidationEnabledDefaultsKey]; Don't we want to get rid of the WebKitNetworkCacheSpeculativeRevalidationEnabledDefaultsKey, too?
Comment on attachment 274467 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=274467&action=review >> Source/WebKit2/UIProcess/Cocoa/WebProcessPoolCocoa.mm:251 >> + parameters.shouldEnableNetworkCacheSpeculativeRevalidation = m_configuration->diskCacheSpeculativeValidationEnabled() && [defaults boolForKey:WebKitNetworkCacheSpeculativeRevalidationEnabledDefaultsKey]; > > Don't we want to get rid of the WebKitNetworkCacheSpeculativeRevalidationEnabledDefaultsKey, too? Yeah, we don't want a defaults key in WebKit.
Created attachment 274477 [details] Patch
Comment on attachment 274477 [details] Patch Clearing flags on attachment: 274477 Committed r198470: <http://trac.webkit.org/changeset/198470>
All reviewed patches have been landed. Closing bug.
Reopening for a follow-up as I found a bug.
Created attachment 274544 [details] Patch
ping review?
Comment on attachment 274544 [details] Patch Clearing flags on attachment: 274544 Committed r198544: <http://trac.webkit.org/changeset/198544>