[webkit-changes] [WebKit/WebKit] ed8b1d: MiniBrowser can crash when setting a nil window title

Tim Horton noreply at github.com
Mon Nov 7 14:11:44 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ed8b1d80114ac78602c7bd2fcb741a34af9af7c4
      https://github.com/WebKit/WebKit/commit/ed8b1d80114ac78602c7bd2fcb741a34af9af7c4
  Author: Tim Horton <timothy_horton at apple.com>
  Date:   2022-11-07 (Mon, 07 Nov 2022)

  Changed paths:
    M Tools/MiniBrowser/mac/WK2BrowserWindowController.m

  Log Message:
  -----------
  MiniBrowser can crash when setting a nil window title
https://bugs.webkit.org/show_bug.cgi?id=247579

Reviewed by Wenson Hsieh.

* Tools/MiniBrowser/mac/WK2BrowserWindowController.m:
(-[WK2BrowserWindowController updateTitle:]):
Some folks are reporting exceptions from setting a nil window title; we don't
understand the exact circumstances, but should avoid crashing by having a final
fallback.

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




More information about the webkit-changes mailing list