[webkit-changes] [WebKit/WebKit] 27067c: Don't convert NSURL to WKSecureCodingURLWrapper wh...

Alex Christensen noreply at github.com
Thu May 11 20:43:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 27067c78c1fbad65c4c13f71b7c879158483e9cd
      https://github.com/WebKit/WebKit/commit/27067c78c1fbad65c4c13f71b7c879158483e9cd
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-05-11 (Thu, 11 May 2023)

  Changed paths:
    M Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm

  Log Message:
  -----------
  Don't convert NSURL to WKSecureCodingURLWrapper when encoding RVItem
https://bugs.webkit.org/show_bug.cgi?id=256680
rdar://109237622

Reviewed by Wenson Hsieh.

RVItem's deserialization code deserializes an NSURL.  This is fine, except our encoder
has replaced it with a WKSecureCodingURLWrapper.  This is needed when encoding NSURLRequest
for standards compliance and it will be done here once rdar://109237983 is done, but in the
meantime just don't transform the NSURL when encoding.

* Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm:
(supportsRevealCore):
(-[WKSecureCodingArchivingDelegate archiver:willEncodeObject:]):
(-[WKSecureCodingArchivingDelegate init]):
(IPC::encodeSecureCodingInternal):
(IPC::shouldEnableStrictMode):

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




More information about the webkit-changes mailing list