mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:37:35 +00:00
Browser: Remove the standalone JavaScript console
This commit is contained in:
parent
d8a700d9be
commit
b385a44f6f
6 changed files with 1 additions and 144 deletions
|
@ -10,7 +10,6 @@
|
|||
#include "BrowserWindow.h"
|
||||
#include "BookmarksBarWidget.h"
|
||||
#include "Browser.h"
|
||||
#include "ConsoleWidget.h"
|
||||
#include "InspectorWidget.h"
|
||||
#include "Tab.h"
|
||||
#include <Applications/Browser/BrowserWindowGML.h>
|
||||
|
@ -256,14 +255,6 @@ void BrowserWindow::build_menus()
|
|||
inspect_menu->add_action(*m_view_source_action);
|
||||
inspect_menu->add_action(*m_inspect_dom_tree_action);
|
||||
|
||||
auto js_console_action = GUI::Action::create(
|
||||
"Open &JS Console", { Mod_Ctrl, Key_I }, g_icon_bag.filetype_javascript, [this](auto&) {
|
||||
active_tab().show_console_window();
|
||||
},
|
||||
this);
|
||||
js_console_action->set_status_tip("Open JavaScript console for this page"_string);
|
||||
inspect_menu->add_action(js_console_action);
|
||||
|
||||
auto storage_window_action = GUI::Action::create(
|
||||
"Open S&torage Inspector", g_icon_bag.cookie, [this](auto&) {
|
||||
active_tab().show_storage_inspector();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue