[webkit-changes] [WebKit/WebKit] e402ca: Allow deserialization of NSURLError through _WKRem...

Alex Christensen noreply at github.com
Wed Jul 12 13:04:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e402ca04a9ae04cf15ef2dd315a4d38877d701b0
      https://github.com/WebKit/WebKit/commit/e402ca04a9ae04cf15ef2dd315a4d38877d701b0
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M Source/WebKit/Shared/API/Cocoa/WKRemoteObjectCoder.mm

  Log Message:
  -----------
  Allow deserialization of NSURLError through _WKRemoteObjectRegistry
https://bugs.webkit.org/show_bug.cgi?id=259152
rdar://111806659

Reviewed by Chris Dumez and David Kilzer.

CFNetwork has an internal NSError subclass.  Since we stopped automatically
allowing deserialization of ObjC subclasses, all subclasses must be explicitly
allowed.

* Source/WebKit/Shared/API/Cocoa/WKRemoteObjectCoder.mm:
(alwaysAllowedClasses):

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




More information about the webkit-changes mailing list