mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-22 23:55:12 +00:00
LibWeb+WebContent: Add plumbing for 'webdriver-active flag'
This commit is contained in:
committed by
Andreas Kling
parent
4c6f830a35
commit
3f24a444f9
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user