Bug 209765

Summary: REGRESSION (r256756): -[WKPreferenceObserver init]: Instance variable used while 'self' is not set to the result of '[(super or self) init...]'
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: WebKit2Assignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, pvollan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=209145
https://bugs.webkit.org/show_bug.cgi?id=210647
Bug Depends on: 203420    
Bug Blocks:    
Attachments:
Description Flags
Patch v1 none

Description David Kilzer (:ddkilzer) 2020-03-30 13:53:08 PDT
-[WKPreferenceObserver init]: Instance variable used while 'self' is not set to the result of '[(super or self) init...]'.

- (instancetype)init
{
    [...]
    for (auto domain : domains) {
        [...]
        m_userDefaults.append(userDefaults);
    }
    return [super init];
}
Comment 1 David Kilzer (:ddkilzer) 2020-03-30 13:55:49 PDT
Created attachment 394958 [details]
Patch v1
Comment 2 EWS 2020-03-30 15:41:39 PDT
Committed r259239: <https://trac.webkit.org/changeset/259239>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 394958 [details].
Comment 3 Radar WebKit Bug Importer 2020-03-30 15:42:15 PDT
<rdar://problem/61077050>