Since being turned on-by-default, the ITP Database flag has stopped working correctly.
<rdar://problem/58309011>
Created attachment 386730 [details] Patch
Comment on attachment 386730 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=386730&action=review > Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:402 > + if (!isITPDatabaseEnabledValue) > + parameters.shouldEnableITPDatabase = m_defaultPageGroup->preferences().isITPDatabaseEnabled(); > + else > + parameters.shouldEnableITPDatabase = isITPDatabaseEnabledValue.boolValue; I think this conditional should be reversed. i.e. if the value from user prefs exists, use it, otherwise go to the page group defaults.
(In reply to Dean Jackson from comment #3) > Comment on attachment 386730 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=386730&action=review > > > Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:402 > > + if (!isITPDatabaseEnabledValue) > > + parameters.shouldEnableITPDatabase = m_defaultPageGroup->preferences().isITPDatabaseEnabled(); > > + else > > + parameters.shouldEnableITPDatabase = isITPDatabaseEnabledValue.boolValue; > > I think this conditional should be reversed. i.e. if the value from user > prefs exists, use it, otherwise go to the page group defaults. I agree, that order is more readable. I'll change it before landing. These api test failures also look concerning, I'll investigate.
this was fixed (along with the failing api tests) in https://bugs.webkit.org/show_bug.cgi?id=205844
*** This bug has been marked as a duplicate of bug 205844 ***