[webkit-changes] [WebKit/WebKit] 0267c7: Make WebPreferences respond to setApplicationChrom...

Alex Christensen noreply at github.com
Mon Mar 6 16:35:01 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0267c7862a7e92976cd9f81d410049d2d18dd056
      https://github.com/WebKit/WebKit/commit/0267c7862a7e92976cd9f81d410049d2d18dd056
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M Source/WebKitLegacy/mac/WebView/WebPreferences.mm
    M Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h

  Log Message:
  -----------
  Make WebPreferences respond to setApplicationChromeModeEnabled: again
https://bugs.webkit.org/show_bug.cgi?id=253469
rdar://106306112

Reviewed by John Wilander.

260831 at main removed it but it is still called.
Even though it does nothing, we need it to avoid a NSInvalidArgumentException.

* Source/WebKitLegacy/mac/WebView/WebPreferences.mm:
(-[WebPreferences applicationChromeModeEnabled]):
(-[WebPreferences setApplicationChromeModeEnabled:]):
* Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h:

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




More information about the webkit-changes mailing list