| Summary: | REGRESSION (r260228): Linker warning about limitsNavigationsToAppBoundDomains property overriding instance methods from class | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> | ||||
| Component: | WebKit2 | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bfulgham, katherine_cheney, ryanhaddad, webkit-bug-importer, wilander | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Other | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | 210620 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
David Kilzer (:ddkilzer)
2020-05-04 13:07:11 PDT
I first noticed this on Apr 17, 2020. This warning means that the @property was added to the public header:
@property (nonatomic) BOOL limitsNavigationsToAppBoundDomains WK_API_AVAILABLE(macos(WK_MAC_TBA), ios(WK_IOS_TBA));
But the implementation was added to a category:
@implementation WKWebViewConfiguration (WKPrivate)
[...]
- (BOOL)limitsNavigationsToAppBoundDomains
{
return _pageConfiguration->limitsNavigationsToAppBoundDomains();
}
- (void)setLimitsNavigationsToAppBoundDomains:(BOOL)limitsToAppBoundDomains
{
_pageConfiguration->setLimitsNavigationsToAppBoundDomains(limitsToAppBoundDomains);
}
[...]
@end
Created attachment 398818 [details]
Patch v1
(In reply to David Kilzer (:ddkilzer) from comment #3) > Created attachment 398818 [details] > Patch v1 (I got tired of seeing the warning when building. :) Comment on attachment 398818 [details]
Patch v1
r=me
Committed r261396: <https://trac.webkit.org/changeset/261396> All reviewed patches have been landed. Closing bug and clearing flags on attachment 398818 [details]. |