1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:47:34 +00:00

Ladybird: Construct a WebDriverConnection when instructed to do so

The WebDriver will pass the --webdriver-fd-passing-socket command line
option when it launches Ladybird. Forward this flag onto the WebContent
process, where it will create the WebDriverConnection for IPC.
This commit is contained in:
Timothy Flynn 2022-11-14 11:08:44 -05:00 committed by Andrew Kaster
parent 7021d30288
commit 4031630b49
8 changed files with 38 additions and 13 deletions

View file

@ -22,7 +22,7 @@ class BrowserWindow;
class Tab final : public QWidget {
Q_OBJECT
public:
explicit Tab(BrowserWindow* window);
Tab(BrowserWindow* window, int webdriver_fd_passing_socket);
WebContentView& view() { return *m_view; }