Bug 206456

Summary: Remove unused WebsiteDataStore::setSourceApplicationBundleIdentifier
Product: WebKit Reporter: Alex Christensen <achristensen>
Component: New BugsAssignee: Alex Christensen <achristensen>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, cdumez, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch beidson: review+

Description Alex Christensen 2020-01-17 15:57:50 PST
Remove unused WebsiteDataStore::setSourceApplicationBundleIdentifier
Comment 1 Alex Christensen 2020-01-17 16:00:15 PST
Created attachment 388105 [details]
Patch
Comment 2 youenn fablet 2020-01-30 00:21:22 PST
Some related API tests seem to fail.
Comment 3 Alex Christensen 2020-02-26 17:33:22 PST
Created attachment 391820 [details]
Patch
Comment 4 Brady Eidson 2020-02-26 20:32:59 PST
Comment on attachment 391820 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=391820&action=review

> Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm:346
> -    return _websiteDataStore->sourceApplicationBundleIdentifier();
> +    return nil;

Why leave this here at all?

> Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm:351
>  - (void)_setSourceApplicationBundleIdentifier:(NSString *)identifier
>  {
> -    if (!_websiteDataStore->setSourceApplicationBundleIdentifier(identifier))
> -        [NSException raise:NSGenericException format:@"_setSourceApplicationBundleIdentifier cannot be called after networking has begun"];
>  }

Ditto
Comment 5 Alex Christensen 2020-02-26 20:44:29 PST
Gone!
http://trac.webkit.org/r257553
Comment 6 Radar WebKit Bug Importer 2020-02-26 20:45:16 PST
<rdar://problem/59834364>