gecko-dev/dom/serializers
Masayuki Nakano 9f3a55f73d Bug 1818128 - Add logging code for Selection API calls r=smaug
It's hard to check Selection API calls from both JS and internals when we debug
web apps which has complicated `contenteditable` editor.  Therefore, I'd like to
add an ability to log Selection API calls.

This patch needs to stop some methods inlined.  Therefore, this could affect to
the performance in release builds, though.  If so, I need to work on some
optimization later.

For minimizing the impact for performance, this patch also makes them to check
the logging level before calling logging methods.  It's currently redundant
for `LogLevel::Info` case.  However, this avoids any performance impact from
changes of `MOZ_LOG` implementation and in the blocks.

Differential Revision: https://phabricator.services.mozilla.com/D170585
2023-03-05 22:38:05 +00:00
..
crashtests
moz.build Bug 1817314 - Make dom/serializers buildable outside of a unified build environment r=andi 2023-02-19 21:40:36 +00:00
nsDOMSerializer.cpp
nsDOMSerializer.h
nsDocumentEncoder.cpp Bug 1818128 - Add logging code for Selection API calls r=smaug 2023-03-05 22:38:05 +00:00
nsHTMLContentSerializer.cpp
nsHTMLContentSerializer.h
nsIContentSerializer.h
nsIDocumentEncoder.idl Backed out changeset 34c1c9be027d (bug 1769534) for causing bug 1801186. 2023-01-12 08:50:27 -05:00
nsPlainTextSerializer.cpp Backed out changeset 34c1c9be027d (bug 1769534) for causing bug 1801186. 2023-01-12 08:50:27 -05:00
nsPlainTextSerializer.h
nsXHTMLContentSerializer.cpp
nsXHTMLContentSerializer.h
nsXMLContentSerializer.cpp
nsXMLContentSerializer.h