mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
26 lines
472 B
C
26 lines
472 B
C
![]() |
/*
|
||
|
* Copyright (c) 2023, Luke Wilde <lukew@serenityos.org>
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <LibWeb/DOM/Document.h>
|
||
|
|
||
|
namespace Web::DOM {
|
||
|
|
||
|
class XMLDocument final : public Document {
|
||
|
WEB_PLATFORM_OBJECT(XMLDocument, Document);
|
||
|
|
||
|
public:
|
||
|
virtual ~XMLDocument() override = default;
|
||
|
|
||
|
private:
|
||
|
XMLDocument(JS::Realm& realm, AK::URL const& url);
|
||
|
|
||
|
virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
|
||
|
};
|
||
|
|
||
|
}
|