summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser/BrowserWindow.cpp
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-11-10 18:00:01 -0500
committerLinus Groh <mail@linusgroh.de>2022-11-11 11:36:07 +0000
commit88dcdf681f9ffb9b40e25e3f2e4bc4039917c28c (patch)
tree74227e8025507d6a049b72eabb74b77a7a067fad /Userland/Applications/Browser/BrowserWindow.cpp
parent561f9f36f78e2e0ef68bd319daa5ce666f87f140 (diff)
downloadserenity-88dcdf681f9ffb9b40e25e3f2e4bc4039917c28c.zip
Browser+WebContent+WebDriver: Move Get Page Source to WebContent
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 dcb77be9e8..05b1ba5ee4 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_serialize_source = [this]() {
- return active_tab().view().serialize_source();
- };
-
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);
};