mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +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
|
@ -74,7 +74,6 @@ private:
|
|||
virtual void set_preferred_color_scheme(Web::CSS::PreferredColorScheme const&) override;
|
||||
virtual void set_has_focus(bool) override;
|
||||
virtual void set_is_scripting_enabled(bool) override;
|
||||
virtual void set_is_webdriver_active(bool) override;
|
||||
virtual void set_window_position(Gfx::IntPoint const&) override;
|
||||
virtual void set_window_size(Gfx::IntSize const&) override;
|
||||
virtual void handle_file_return(i32 error, Optional<IPC::File> const& file, i32 request_id) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue