gecko-dev/dom/security/sanitizer
Frederik Braun cd84e68a73 Bug 1731587 - [sanitizer] Remove string-based APIs, handle HTML comments, align exceptions with wpt r=hsivonen
This patch combines three relatively small changes:
1) Removing string-based APIs
-- Adjusting the Sanitize() function, its WebIDl definition etc. to only
accept Document/DocumentFragment
2) Parse allowComments from the Sanitizer constructor and pass into the
   underlying nsTreeSanitizer
3) Ensure that exceptions and error cases align with current wpt

Differential Revision: https://phabricator.services.mozilla.com/D126673
2021-10-04 07:50:03 +00:00
..
tests/mochitest Bug 1731587 - [sanitizer] Remove string-based APIs, handle HTML comments, align exceptions with wpt r=hsivonen 2021-10-04 07:50:03 +00:00
Sanitizer.cpp Bug 1731587 - [sanitizer] Remove string-based APIs, handle HTML comments, align exceptions with wpt r=hsivonen 2021-10-04 07:50:03 +00:00
Sanitizer.h Bug 1731587 - [sanitizer] Remove string-based APIs, handle HTML comments, align exceptions with wpt r=hsivonen 2021-10-04 07:50:03 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00