mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:37:43 +00:00
LibWeb: Port XMLSerializer from DeprecatedString to String
This commit is contained in:
parent
e28fb5c64c
commit
6c42de3e8b
9 changed files with 46 additions and 52 deletions
|
@ -19,7 +19,7 @@ public:
|
|||
|
||||
virtual ~XMLSerializer() override;
|
||||
|
||||
WebIDL::ExceptionOr<DeprecatedString> serialize_to_string(JS::NonnullGCPtr<DOM::Node const> root);
|
||||
WebIDL::ExceptionOr<String> serialize_to_string(JS::NonnullGCPtr<DOM::Node const> root);
|
||||
|
||||
private:
|
||||
explicit XMLSerializer(JS::Realm&);
|
||||
|
@ -32,5 +32,5 @@ enum class RequireWellFormed {
|
|||
Yes,
|
||||
};
|
||||
|
||||
WebIDL::ExceptionOr<DeprecatedString> serialize_node_to_xml_string(JS::NonnullGCPtr<DOM::Node const> root, RequireWellFormed require_well_formed);
|
||||
WebIDL::ExceptionOr<String> serialize_node_to_xml_string(JS::NonnullGCPtr<DOM::Node const> root, RequireWellFormed require_well_formed);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue