mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:37:47 +00:00
Browser: Sanitize user-provided URLs with LibWebView
This commit is contained in:
parent
aa5cd24c90
commit
d2c7e1ea7d
6 changed files with 31 additions and 93 deletions
|
@ -29,8 +29,8 @@ public:
|
|||
|
||||
GUI::TabWidget& tab_widget();
|
||||
Tab& active_tab();
|
||||
Tab& create_new_tab(URL, Web::HTML::ActivateTab activate);
|
||||
void create_new_window(URL);
|
||||
Tab& create_new_tab(URL const&, Web::HTML::ActivateTab activate);
|
||||
void create_new_window(URL const&);
|
||||
|
||||
GUI::Action& go_back_action() { return *m_go_back_action; }
|
||||
GUI::Action& go_forward_action() { return *m_go_forward_action; }
|
||||
|
@ -51,7 +51,7 @@ public:
|
|||
void broadcast_window_size(Gfx::IntSize);
|
||||
|
||||
private:
|
||||
BrowserWindow(WebView::CookieJar&, URL);
|
||||
BrowserWindow(WebView::CookieJar&, Vector<URL> const&);
|
||||
|
||||
void build_menus();
|
||||
ErrorOr<void> load_search_engines(GUI::Menu& settings_menu);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue