mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWebView+UI: Remove some now-superfluous debug menu items
No need to keep these actions around, users can use the about:settings page instead.
This commit is contained in:
parent
c34119cb29
commit
c80b698589
Notes:
github-actions[bot]
2025-11-12 14:07:50 +00:00
Author: https://github.com/trflynn89
Commit: c80b698589
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6675
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/konradekk
7 changed files with 0 additions and 28 deletions
|
|
@ -876,11 +876,6 @@ void Application::initialize_actions()
|
|||
m_debug_menu->add_separator();
|
||||
|
||||
m_debug_menu->add_action(Action::create("Collect Garbage"sv, ActionID::CollectGarbage, debug_request("collect-garbage"sv)));
|
||||
m_debug_menu->add_action(Action::create("Clear Cache"sv, ActionID::ClearCache, [this, clear_memory_cache = debug_request("clear-cache")]() {
|
||||
m_request_server_client->async_remove_cache_entries_accessed_since({});
|
||||
clear_memory_cache();
|
||||
}));
|
||||
m_debug_menu->add_action(Action::create("Clear All Cookies"sv, ActionID::ClearCookies, [this]() { m_cookie_jar->clear_all_cookies(); }));
|
||||
m_debug_menu->add_separator();
|
||||
|
||||
auto spoof_user_agent_menu = Menu::create_group("Spoof User Agent"sv);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue