mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
WebContent+WebDriver: Set the navigator.webdriver flag from WebDriver
This moves setting the navigator.webdriver flag from after WebContent creates the WebDriver connection, to its own IPC to be triggered from WebDriver. This is closer to the spec, but mostly serves as an easy test to validate the connection.
This commit is contained in:
parent
50ae1ad18a
commit
f7c212a19d
8 changed files with 17 additions and 10 deletions
|
@ -28,6 +28,7 @@ private:
|
|||
WebDriverConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket, PageHost& page_host);
|
||||
|
||||
virtual void die() override { }
|
||||
virtual void set_is_webdriver_active(bool) override;
|
||||
|
||||
PageHost& m_page_host;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue