Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9508413124c4897fbbb35f7ecb4b19aa7269d3dd
      
https://github.com/WebKit/WebKit/commit/9508413124c4897fbbb35f7ecb4b19aa7269d3dd
  Author: Fujii Hironori <[email protected]>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M Tools/MiniBrowser/gtk/BrowserWindow.c

  Log Message:
  -----------
  [GTK MiniBrowser] Truncate title for menu items in UTF-8 code point boundary
https://bugs.webkit.org/show_bug.cgi?id=304962

Reviewed by Carlos Garcia Campos.

g_menu_item_new reported a warning for an invalid UTF-8 string.

> (MiniBrowser:21769): g_variant_new_string: assertion 'g_utf8_validate 
> (string, -1, NULL)' failed

Truncate the title in a code point boundary.

* Tools/MiniBrowser/gtk/BrowserWindow.c:
(truncateTitle):
(browserWindowCreateBackForwardMenu):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to