From 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:47:29 +0200 Subject: Adding upstream version 115.8.0esr. Signed-off-by: Daniel Baumann --- dom/serializers/crashtests/bug1747114.html | 30 + dom/serializers/crashtests/crashtests.list | 1 + dom/serializers/moz.build | 36 + dom/serializers/nsDOMSerializer.cpp | 112 ++ dom/serializers/nsDOMSerializer.h | 43 + dom/serializers/nsDocumentEncoder.cpp | 2109 ++++++++++++++++++++++++++ dom/serializers/nsHTMLContentSerializer.cpp | 445 ++++++ dom/serializers/nsHTMLContentSerializer.h | 53 + dom/serializers/nsIContentSerializer.h | 97 ++ dom/serializers/nsIDocumentEncoder.idl | 361 +++++ dom/serializers/nsPlainTextSerializer.cpp | 1826 ++++++++++++++++++++++ dom/serializers/nsPlainTextSerializer.h | 384 +++++ dom/serializers/nsXHTMLContentSerializer.cpp | 731 +++++++++ dom/serializers/nsXHTMLContentSerializer.h | 143 ++ dom/serializers/nsXMLContentSerializer.cpp | 1814 ++++++++++++++++++++++ dom/serializers/nsXMLContentSerializer.h | 440 ++++++ 16 files changed, 8625 insertions(+) create mode 100644 dom/serializers/crashtests/bug1747114.html create mode 100644 dom/serializers/crashtests/crashtests.list create mode 100644 dom/serializers/moz.build create mode 100644 dom/serializers/nsDOMSerializer.cpp create mode 100644 dom/serializers/nsDOMSerializer.h create mode 100644 dom/serializers/nsDocumentEncoder.cpp create mode 100644 dom/serializers/nsHTMLContentSerializer.cpp create mode 100644 dom/serializers/nsHTMLContentSerializer.h create mode 100644 dom/serializers/nsIContentSerializer.h create mode 100644 dom/serializers/nsIDocumentEncoder.idl create mode 100644 dom/serializers/nsPlainTextSerializer.cpp create mode 100644 dom/serializers/nsPlainTextSerializer.h create mode 100644 dom/serializers/nsXHTMLContentSerializer.cpp create mode 100644 dom/serializers/nsXHTMLContentSerializer.h create mode 100644 dom/serializers/nsXMLContentSerializer.cpp create mode 100644 dom/serializers/nsXMLContentSerializer.h (limited to 'dom/serializers') diff --git a/dom/serializers/crashtests/bug1747114.html b/dom/serializers/crashtests/bug1747114.html new file mode 100644 index 0000000000..09b429a65e --- /dev/null +++ b/dom/serializers/crashtests/bug1747114.html @@ -0,0 +1,30 @@ + + + +