Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 27a68309e6bf2766d5573648c151c8fff0bfbfe9
      
https://github.com/WebKit/WebKit/commit/27a68309e6bf2766d5573648c151c8fff0bfbfe9
  Author: Patrick Griffis <[email protected]>
  Date:   2026-09-01 (Tue, 01 Sep 2026)

  Changed paths:
    M Source/WebKit/Shared/API/glib/WebKitContextMenuActions.cpp
    M Source/WebKit/UIProcess/API/glib/WebKitContextMenuActions.h.in

  Log Message:
  -----------
  [GLib] Expose the PDF context menu actions in the API
https://bugs.webkit.org/show_bug.cgi?id=323057

Reviewed by Michael Catanzaro and Carlos Garcia Campos.

ContextMenuController adds ten items to the context menu of a PDF document, and
none of them were mapped in WebKitContextMenuActions, so they reached the
ASSERT_NOT_REACHED() in the default branch of 
webkitContextMenuActionGetForContextMenuItem().

* Source/WebKit/Shared/API/glib/WebKitContextMenuActions.cpp:
(webkitContextMenuActionGetActionTag):
(webkitContextMenuActionGetForContextMenuItem):
(pdfContextMenuActionLabel):
(webkitContextMenuActionGetLabel):
* Source/WebKit/UIProcess/API/glib/WebKitContextMenuActions.h.in:

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



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

Reply via email to