gecko-dev/dom/serializers
Nika Layzell 997047e2a4 Bug 1772006 - Part 4: Simplify and move the string comparison APIs from ns[T]StringObsolete, r=xpcom-reviewers,necko-reviewers,dragana,barret
This patch moves EqualsIgnoreCase to ns[T]StringObsolete, and removes
the aCount argument, instead migrating callers to use `StringBeginsWith`
with a case-insensitive comparator.

In addition, nsTStringRepr::Compare was removed and replaced with either
calls to methods like `StringBeginsWith` or the global `Compare` method.

These changes required some modifications at call-sites but should make
the behaviour less surprising and more consistent.

Differential Revision: https://phabricator.services.mozilla.com/D148299
2022-07-30 00:12:48 +00:00
..
crashtests Bug 1747114 - Test correctly for end-of-span before attempting to decode surrogate pair. r=m_kato 2021-12-24 09:29:20 +00:00
moz.build Bug 1747114 - Test correctly for end-of-span before attempting to decode surrogate pair. r=m_kato 2021-12-24 09:29:20 +00:00
nsDocumentEncoder.cpp Bug 1741148 - part 6: Make nsContentUtils::GetInclusiveAncestorsAndOffsets() return array of Maybe<uint32_t> as offsets in DOM nodes r=smaug 2021-12-09 13:18:24 +00:00
nsDOMSerializer.cpp
nsDOMSerializer.h
nsHTMLContentSerializer.cpp
nsHTMLContentSerializer.h
nsIContentSerializer.h
nsIDocumentEncoder.idl
nsPlainTextSerializer.cpp Bug 1772006 - Part 4: Simplify and move the string comparison APIs from ns[T]StringObsolete, r=xpcom-reviewers,necko-reviewers,dragana,barret 2022-07-30 00:12:48 +00:00
nsPlainTextSerializer.h Bug 1768189 - Part 27: Apply modernize-concat-nested-namespaces to dom/security/featurepolicy/FeaturePolicy.h ... r=andi 2022-05-09 20:41:13 +00:00
nsXHTMLContentSerializer.cpp Bug 1771564 - Constify ComputedStyle usage in nsComputedDOMStyle. r=dholbert 2022-05-28 01:04:24 +00:00
nsXHTMLContentSerializer.h
nsXMLContentSerializer.cpp Bug 1722484 Part 2 - Replace LineBreaker::Next() and WordBreaker::Next() with the new iterators. r=m_kato 2021-11-09 01:14:15 +00:00
nsXMLContentSerializer.h