[webkit-changes] [WebKit/WebKit] 52e879: Start restricting object serialization which doesn...

Gavin noreply at github.com
Mon Apr 3 19:43:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 52e879fb973ba6525105c9366a74ce352746f381
      https://github.com/WebKit/WebKit/commit/52e879fb973ba6525105c9366a74ce352746f381
  Author: Gavin Phillips <gavin.p at apple.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M Source/WebCore/PAL/pal/spi/cocoa/NSKeyedUnarchiverSPI.h
    M Source/WebKit/Platform/Logging.h
    M Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm
    M Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in

  Log Message:
  -----------
  Start restricting object serialization which doesn't use the new IPC format.
https://bugs.webkit.org/show_bug.cgi?id=253756
rdar://106594341

Reviewed by Alex Christensen.

This change starts to restrict native object serialization in cases where
we have yet to port to the new IPC format.

* Source/WebKit/Platform/Logging.h:
* Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm:
(-[WKSecureCodingArchivingDelegate archiver:willEncodeObject:]):
(-[WKSecureCodingArchivingDelegate init]):
(IPC::encodeSecureCodingInternal):
(IPC::shouldEnableStrictMode):
(IPC::decodeSecureCodingInternal):
* Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in:

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




More information about the webkit-changes mailing list