Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: aca65fff1223486ef0679a2264ecf9942452aecc
      
https://github.com/WebKit/WebKit/commit/aca65fff1223486ef0679a2264ecf9942452aecc
  Author: Alex Christensen <achristen...@apple.com>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    M Source/WebKit/Shared/API/Cocoa/WKRemoteObjectCoder.h
    M Source/WebKit/Shared/API/Cocoa/WKRemoteObjectCoder.mm
    M Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectRegistry.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/IPCTestingAPI.mm

  Log Message:
  -----------
  Add null check in _WKRemoteObjectRegistry._invokeMethod like we have in 
_callReplyWithID
rdar://148677016
https://bugs.webkit.org/show_bug.cgi?id=291154

Reviewed by Ryosuke Niwa.

And re-enable the test that hits the condition in question.

* Source/WebKit/Shared/API/Cocoa/WKRemoteObjectCoder.h:
* Source/WebKit/Shared/API/Cocoa/WKRemoteObjectCoder.mm:
(-[WKRemoteObjectDecoder 
initWithInterface:rootObjectDictionary:replyToSelector:]):
* Source/WebKit/Shared/API/Cocoa/_WKRemoteObjectRegistry.mm:
(-[_WKRemoteObjectRegistry _invokeMethod:]):
(-[_WKRemoteObjectRegistry _callReplyWithID:blockInvocation:]):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/IPCTestingAPI.mm:

Canonical link: https://commits.webkit.org/293427@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to