Changeset 185890 in webkit
- Timestamp:
- Jun 23, 2015 5:21:04 PM (9 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r185887 r185890 1 2015-06-23 Dan Bernstein <mitz@apple.com> 2 3 Restore binary compatibility with iOS 8 Safari after r185877 4 https://bugs.webkit.org/show_bug.cgi?id=146263 5 6 Reviewed by Anders Carlsson. 7 8 * Platform/spi/Cocoa: Added. 9 * Platform/spi/Cocoa/NSInvocationSPI.h: Added. 10 11 * UIProcess/API/Cocoa/WKSecurityOrigin.mm: 12 (-[WKSecurityOrigin methodSignatureForSelector:]): Override to check _WKSecurityOrigin for 13 possible category methods with the specified selector. 14 (-[WKSecurityOrigin forwardInvocation:]): Invoke using the implementation of the 15 _WKSecurityOrigin category method. 16 17 * WebKit2.xcodeproj/project.pbxproj: 18 1 19 2015-06-23 Anders Carlsson <andersca@apple.com> 2 20 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKSecurityOrigin.mm
r185877 r185890 29 29 #if WK_API_ENABLED 30 30 31 #import "NSInvocationSPI.h" 32 #import "_WKSecurityOrigin.h" 31 33 #import <WebCore/ResourceRequest.h> 32 34 #import <WebCore/SecurityOrigin.h> … … 69 71 } 70 72 73 #pragma mark iOS 8 Safari binary compatibility 74 75 #if PLATFORM(IOS) 76 77 - (NSMethodSignature *)methodSignatureForSelector:(SEL)selector 78 { 79 return [_WKSecurityOrigin instanceMethodSignatureForSelector:selector]; 80 } 81 82 - (void)forwardInvocation:(NSInvocation *)invocation 83 { 84 [invocation invokeUsingIMP:[_WKSecurityOrigin instanceMethodForSelector:invocation.selector]]; 85 } 86 87 #endif 88 71 89 @end 72 90 -
trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj
r185877 r185890 759 759 3743925818BC4C60001C8675 /* WKUIDelegatePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 3743925718BC4C60001C8675 /* WKUIDelegatePrivate.h */; settings = {ATTRIBUTES = (Private, ); }; }; 760 760 374436881820E7240049579F /* WKObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = 374436871820E7240049579F /* WKObject.mm */; }; 761 3754D5451B3A29FD003A4C7F /* NSInvocationSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 3754D5441B3A29FD003A4C7F /* NSInvocationSPI.h */; }; 761 762 3760881E150413E900FC82C7 /* WebRenderObject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3760881C150413E900FC82C7 /* WebRenderObject.cpp */; }; 762 763 3760881F150413E900FC82C7 /* WebRenderObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 3760881D150413E900FC82C7 /* WebRenderObject.h */; }; … … 2905 2906 3743925718BC4C60001C8675 /* WKUIDelegatePrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKUIDelegatePrivate.h; sourceTree = "<group>"; }; 2906 2907 374436871820E7240049579F /* WKObject.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKObject.mm; sourceTree = "<group>"; }; 2908 3754D5441B3A29FD003A4C7F /* NSInvocationSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = NSInvocationSPI.h; path = Cocoa/NSInvocationSPI.h; sourceTree = "<group>"; }; 2907 2909 375FB4731883415600BE34D4 /* Info-iOS.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Info-iOS.plist"; sourceTree = "<group>"; }; 2908 2910 3760881C150413E900FC82C7 /* WebRenderObject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebRenderObject.cpp; sourceTree = "<group>"; }; … … 5257 5259 sourceTree = "<group>"; 5258 5260 }; 5261 3754D5411B3A2998003A4C7F /* Cocoa */ = { 5262 isa = PBXGroup; 5263 children = ( 5264 3754D5441B3A29FD003A4C7F /* NSInvocationSPI.h */, 5265 ); 5266 name = Cocoa; 5267 sourceTree = "<group>"; 5268 }; 5259 5269 37C4C08318149C2A003688B9 /* Cocoa */ = { 5260 5270 isa = PBXGroup; … … 7315 7325 isa = PBXGroup; 7316 7326 children = ( 7327 3754D5411B3A2998003A4C7F /* Cocoa */, 7317 7328 CE1A0BCB1A48E6C60054EF74 /* ios */, 7318 7329 ); … … 7537 7548 E4E864931B16750700C82F40 /* VersionChecks.h in Headers */, 7538 7549 1AC1336C18565C7A00F3EC05 /* APIPageHandle.h in Headers */, 7550 3754D5451B3A29FD003A4C7F /* NSInvocationSPI.h in Headers */, 7539 7551 1AFDD3151891B54000153970 /* APIPolicyClient.h in Headers */, 7540 7552 7CE4D2201A4914CA00C7F152 /* APIProcessPoolConfiguration.h in Headers */,
Note: See TracChangeset
for help on using the changeset viewer.