summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser/BrowserWindow.cpp
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-11-10 21:00:27 -0500
committerLinus Groh <mail@linusgroh.de>2022-11-11 11:36:07 +0000
commit31469ee45a449350460dc250d6962628638ce63e (patch)
treea9b416ab2eb6a73e482b263d978fd75495a5fcec /Userland/Applications/Browser/BrowserWindow.cpp
parent0b9803dc9369deb5784d99e481cc06b0f8dc1743 (diff)
downloadserenity-31469ee45a449350460dc250d6962628638ce63e.zip
Browser+WebContent+WebDriver: Move Execute Async Script to WebContent
With this, WebDriverEndpoints is unused and removed :^)
Diffstat (limited to 'Userland/Applications/Browser/BrowserWindow.cpp')
-rw-r--r--Userland/Applications/Browser/BrowserWindow.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Userland/Applications/Browser/BrowserWindow.cpp b/Userland/Applications/Browser/BrowserWindow.cpp
index 05b1ba5ee4..dc128bcdec 100644
--- a/Userland/Applications/Browser/BrowserWindow.cpp
+++ b/Userland/Applications/Browser/BrowserWindow.cpp
@@ -607,10 +607,6 @@ void BrowserWindow::create_new_tab(URL url, bool activate)
return active_tab().view().take_screenshot();
};
- new_tab.webdriver_endpoints().on_execute_script = [this](String const& body, Vector<String> const& json_arguments, Optional<u64> const& timeout, bool async) {
- return active_tab().view().webdriver_execute_script(body, json_arguments, timeout, async);
- };
-
new_tab.load(url);
dbgln_if(SPAM_DEBUG, "Added new tab {:p}, loading {}", &new_tab, url);