зеркало из https://github.com/mozilla/gecko-dev.git
9f3a55f73d
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 |
||
---|---|---|
.. | ||
crashtests | ||
moz.build | ||
nsDOMSerializer.cpp | ||
nsDOMSerializer.h | ||
nsDocumentEncoder.cpp | ||
nsHTMLContentSerializer.cpp | ||
nsHTMLContentSerializer.h | ||
nsIContentSerializer.h | ||
nsIDocumentEncoder.idl | ||
nsPlainTextSerializer.cpp | ||
nsPlainTextSerializer.h | ||
nsXHTMLContentSerializer.cpp | ||
nsXHTMLContentSerializer.h | ||
nsXMLContentSerializer.cpp | ||
nsXMLContentSerializer.h |