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 Bug 1687303 - Make nsHTMLContentSerializer handle noscript depending on the scripting enabled state of the document. r=edgar 2022-12-20 11:11:41 +00:00
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 Bug 1771564 - Constify ComputedStyle usage in nsComputedDOMStyle. r=dholbert 2022-05-28 01:04:24 +00:00
nsXHTMLContentSerializer.h
nsXMLContentSerializer.cpp Bug 1563452 - Don't break attributes when serializing with nsXMLContentSerializer. r=mbrodesser,m_kato 2022-11-30 05:16:13 +00:00
nsXMLContentSerializer.h