/* * Copyright (c) 2020, Andreas Kling * Copyright (c) 2023, Aliaksandr Kalenik * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace Web { bool build_xml_document(DOM::Document& document, ByteBuffer const& data); bool parse_document(DOM::Document& document, ByteBuffer const& data); JS::GCPtr load_document(Optional navigation_params); JS::GCPtr create_document_for_inline_content(JS::GCPtr navigable, Optional navigation_id, StringView content_html); }