mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +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:
parent
7021d30288
commit
4031630b49
8 changed files with 38 additions and 13 deletions
|
@ -48,7 +48,7 @@ class WebContentView final
|
|||
, public WebView::ViewImplementation {
|
||||
Q_OBJECT
|
||||
public:
|
||||
WebContentView();
|
||||
explicit WebContentView(int webdriver_fd_passing_socket);
|
||||
virtual ~WebContentView() override;
|
||||
|
||||
void load(AK::URL const&);
|
||||
|
@ -201,4 +201,6 @@ private:
|
|||
} m_client_state;
|
||||
|
||||
RefPtr<Gfx::Bitmap> m_backup_bitmap;
|
||||
|
||||
int m_webdriver_fd_passing_socket { -1 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue