[webkit-changes] [WebKit/WebKit] 2640f7: Fix Debug build on Monterey (Missing SoftLinked cl...

Brady Eidson noreply at github.com
Tue Nov 14 23:05:27 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2640f7f95ff4b0d041e4fbed383cf42de591b647
      https://github.com/WebKit/WebKit/commit/2640f7f95ff4b0d041e4fbed383cf42de591b647
  Author: Brady Eidson <beidson at apple.com>
  Date:   2023-11-14 (Tue, 14 Nov 2023)

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

  Log Message:
  -----------
  Fix Debug build on Monterey (Missing SoftLinked classes)
https://bugs.webkit.org/show_bug.cgi?id=264858
rdar://118433817

Reviewed by Alex Christensen.

Monterey has at least one softlinked framework in place, but with a class that is missing.
The build was fine, but oh boy was using it in a Debug configuration very unhappy.

This situation used to be fine when we looked up allowed classes in a Vector (search for null is fine)
After we moved to looking up allowed classes in a HashSet...  Search for null is no longer fine.

This change simply null checks any softlinked class being looked up in the set.

* Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm:
(IPC::shouldEnableStrictMode):

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




More information about the webkit-changes mailing list