Bug 146263 - Restore binary compatibility with iOS 8 Safari after r185877
Summary: Restore binary compatibility with iOS 8 Safari after r185877
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: mitz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-23 17:14 PDT by mitz
Modified: 2015-06-23 17:22 PDT (History)
0 users

See Also:


Attachments
Forward category method calls from WKSecurityOrigin to _WKSecurityOrigin (7.54 KB, patch)
2015-06-23 17:17 PDT, mitz
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2015-06-23 17:14:30 PDT
[Cocoa] Restore binary compatibility with iOS 8 Safari after r185877
Comment 1 mitz 2015-06-23 17:17:15 PDT
Created attachment 255451 [details]
Forward category method calls from WKSecurityOrigin to _WKSecurityOrigin
Comment 2 Anders Carlsson 2015-06-23 17:19:36 PDT
Comment on attachment 255451 [details]
Forward category method calls from WKSecurityOrigin to _WKSecurityOrigin

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

> Source/WebKit2/UIProcess/API/Cocoa/WKSecurityOrigin.mm:85
> +#pragma mark iOS 8 Safari binary compatibility
> +
> +- (NSMethodSignature *)methodSignatureForSelector:(SEL)selector
> +{
> +    return [_WKSecurityOrigin instanceMethodSignatureForSelector:selector];
> +}
> +
> +- (void)forwardInvocation:(NSInvocation *)invocation
> +{
> +    [invocation invokeUsingIMP:[_WKSecurityOrigin instanceMethodForSelector:invocation.selector]];
> +}
> +
>  @end

Can we #if PLATFORM(IOS) this?
Comment 3 mitz 2015-06-23 17:22:12 PDT
Fixed in <http://trac.webkit.org/r185890>.