2024-11-02 14:29:37 -04:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2022-2023, Linus Groh <linusg@serenityos.org>
|
|
|
|
* Copyright (c) 2024, Tim Flynn <trflynn89@ladybird.org>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <LibJS/Runtime/Value.h>
|
2025-07-19 19:35:33 -07:00
|
|
|
#include <LibWeb/Export.h>
|
2024-11-02 14:29:37 -04:00
|
|
|
#include <LibWeb/Forward.h>
|
|
|
|
#include <LibWeb/WebDriver/Response.h>
|
|
|
|
|
|
|
|
namespace Web::WebDriver {
|
|
|
|
|
2025-07-19 19:35:33 -07:00
|
|
|
WEB_API Response json_clone(HTML::BrowsingContext const&, JS::Value);
|
|
|
|
WEB_API ErrorOr<JS::Value, WebDriver::Error> json_deserialize(HTML::BrowsingContext const&, JsonValue const&);
|
2024-11-02 14:29:37 -04:00
|
|
|
|
|
|
|
}
|