mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:37:34 +00:00
LibWeb: Add a default URL of about:blank to DOM::XMLDocument
This matches DOM::Document.
This commit is contained in:
parent
9d69c5d434
commit
a028c87069
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class XMLDocument final : public Document {
|
|||
JS_DECLARE_ALLOCATOR(XMLDocument);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<XMLDocument> create(JS::Realm&, AK::URL const&);
|
||||
static JS::NonnullGCPtr<XMLDocument> create(JS::Realm&, AK::URL const& url = "about:blank"sv);
|
||||
virtual ~XMLDocument() override = default;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue