Bug 210647

Summary: REGRESSION (r256756): -[WKUserDefaults initWithSuiteName:]: 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: andersca, 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=209765
Bug Depends on: 203420    
Bug Blocks:    
Attachments:
Description Flags
Patch v1 none

Description David Kilzer (:ddkilzer) 2020-04-17 03:22:57 PDT
-[WKUserDefaults initWithSuiteName:]: Instance variable used while 'self' is not set to the result of '[(super or self) init...]'.

- (instancetype)initWithSuiteName:(NSString *)suitename
{
    m_suiteName = suitename;
    m_observer = nil;
    return [super initWithSuiteName:suitename];
}
Comment 1 Radar WebKit Bug Importer 2020-04-17 03:23:58 PDT
<rdar://problem/61928289>
Comment 2 David Kilzer (:ddkilzer) 2020-04-17 03:32:24 PDT
Created attachment 396752 [details]
Patch v1
Comment 3 EWS 2020-04-17 08:02:26 PDT
Committed r260251: <https://trac.webkit.org/changeset/260251>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 396752 [details].