mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 11:06:10 +00:00
LibWeb: Make XHR.response an actual XMLDocument for XML documents
Before this change, we were producing a generic DOM::Document, which was not distinguishable from an XMLDocument by IDL interface type.
This commit is contained in:
parent
2b343c9508
commit
0762388709
Notes:
sideshowbarker
2024-07-17 06:54:15 +09:00
Author: https://github.com/awesomekling
Commit: 0762388709
Pull-request: https://github.com/SerenityOS/serenity/pull/21362
5 changed files with 29 additions and 2 deletions
|
|
@ -14,6 +14,7 @@ class XMLDocument final : public Document {
|
|||
WEB_PLATFORM_OBJECT(XMLDocument, Document);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<XMLDocument> create(JS::Realm&, AK::URL const&);
|
||||
virtual ~XMLDocument() override = default;
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue