mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 07:37:03 +00:00
LibWeb: Implement XMLSerializer
The main thing that is missing is validating certain pieces of data
against XML productions in well-formed mode, but nothing uses
well-formed mode right now.
Required by Closure Library for sanitising HTML.
e687b3d8ab/closure/goog/html/sanitizer/safedomtreeprocessor.js (L117)
This commit is contained in:
parent
60fc0ceabb
commit
de88e119a0
Notes:
sideshowbarker
2024-07-17 09:41:43 +09:00
Author: https://github.com/Lubrsi
Commit: de88e119a0
Pull-request: https://github.com/SerenityOS/serenity/pull/14493
Reviewed-by: https://github.com/linusg ✅
10 changed files with 938 additions and 1 deletions
|
@ -159,6 +159,10 @@ template<typename ValueType>
|
|||
class ExceptionOr;
|
||||
}
|
||||
|
||||
namespace Web::DOMParsing {
|
||||
class XMLSerializer;
|
||||
}
|
||||
|
||||
namespace Web::Encoding {
|
||||
class TextEncoder;
|
||||
}
|
||||
|
@ -600,6 +604,7 @@ class XMLHttpRequestConstructor;
|
|||
class XMLHttpRequestEventTargetWrapper;
|
||||
class XMLHttpRequestPrototype;
|
||||
class XMLHttpRequestWrapper;
|
||||
class XMLSerializerWrapper;
|
||||
enum class CanPlayTypeResult;
|
||||
enum class DOMParserSupportedType;
|
||||
enum class ResizeObserverBoxOptions;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue