mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 14:28:49 +00:00
We don't yet support a proxy configuration, but we can still validate the capability received from the WebDriver client. We should also fail to create a WebDriver session if a proxy configuration is present.
20 lines
399 B
C++
20 lines
399 B
C++
/*
|
|
* Copyright (c) 2025, Tim Flynn <trflynn89@ladybird.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/JsonObject.h>
|
|
#include <LibWeb/WebDriver/Error.h>
|
|
|
|
namespace Web::WebDriver {
|
|
|
|
bool has_proxy_configuration();
|
|
void set_has_proxy_configuration(bool);
|
|
void reset_has_proxy_configuration();
|
|
|
|
ErrorOr<JsonObject, Error> deserialize_as_a_proxy(JsonValue const&);
|
|
|
|
}
|