WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 205844
205753
The "ITP Database Backend" flag is not working correctly
https://bugs.webkit.org/show_bug.cgi?id=205753
Summary
The "ITP Database Backend" flag is not working correctly
Kate Cheney
Reported
2020-01-03 15:37:36 PST
Since being turned on-by-default, the ITP Database flag has stopped working correctly.
Attachments
Patch
(5.93 KB, patch)
2020-01-03 16:49 PST
,
Kate Cheney
dino
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-01-03 15:38:58 PST
<
rdar://problem/58309011
>
Kate Cheney
Comment 2
2020-01-03 16:49:34 PST
Created
attachment 386730
[details]
Patch
Dean Jackson
Comment 3
2020-01-05 14:40:34 PST
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.
Kate Cheney
Comment 4
2020-01-06 08:41:17 PST
(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.
Kate Cheney
Comment 5
2020-01-13 12:58:50 PST
this was fixed (along with the failing api tests) in
https://bugs.webkit.org/show_bug.cgi?id=205844
Kate Cheney
Comment 6
2020-01-13 12:59:19 PST
*** This bug has been marked as a duplicate of
bug 205844
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug