LibWebView+UI: Generate the application debug menu

By migrating the debug menu to LibWebView, the AppKit and Qt UIs are now
in sync - the AppKit UI was previously missing some actions.

Further, this inadvertently fixes bugs around applying debug settings to
new web views, especially across site-isolated processes. We were
previously not applying settings appropriately; this now "just works" in
the LibWebView infra.
This commit is contained in:
Timothy Flynn 2025-09-03 09:00:52 -04:00 committed by Tim Flynn
commit 9c99c48f47
Notes: github-actions[bot] 2025-09-11 18:25:07 +00:00
15 changed files with 212 additions and 632 deletions

View file

@ -52,6 +52,28 @@ enum class ActionID {
UnmuteMedia,
ToggleMediaControlsState,
ToggleMediaLoopState,
DumpSessionHistoryTree,
DumpDOMTree,
DumpLayoutTree,
DumpPaintTree,
DumpStackingContextTree,
DumpDisplayList,
DumpStyleSheets,
DumpStyles,
DumpCSSErrors,
DumpCookies,
DumpLocalStorage,
DumpGCGraph,
ShowLineBoxBorders,
CollectGarbage,
ClearCache,
ClearCookies,
SpoofUserAgent,
NavigatorCompatibilityMode,
EnableScripting,
EnableContentFiltering,
BlockPopUps,
};
class WEBVIEW_API Action