mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:17:42 +00:00
LibWeb+WebContent: Add plumbing for 'webdriver-active flag'
This commit is contained in:
parent
4c6f830a35
commit
3f24a444f9
8 changed files with 31 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2020-2022, Andreas Kling <kling@serenityos.org>
|
||||
* Copyright (c) 2021, Sam Atkins <atkinssj@serenityos.org>
|
||||
* Copyright (c) 2021-2022, Linus Groh <linusg@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -498,6 +499,11 @@ void ConnectionFromClient::set_is_scripting_enabled(bool is_scripting_enabled)
|
|||
m_page_host->set_is_scripting_enabled(is_scripting_enabled);
|
||||
}
|
||||
|
||||
void ConnectionFromClient::set_is_webdriver_active(bool is_webdriver_active)
|
||||
{
|
||||
m_page_host->set_is_webdriver_active(is_webdriver_active);
|
||||
}
|
||||
|
||||
Messages::WebContentServer::GetLocalStorageEntriesResponse ConnectionFromClient::get_local_storage_entries()
|
||||
{
|
||||
auto* document = page().top_level_browsing_context().active_document();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue