gecko-dev/editor/spellchecker
Masayuki Nakano c204c013dd Bug 1845215 - part 1: Make ContentIteratorBase a template class to work without strong pointers r=smaug
`ContentEventHandler` works with `PostContentIterator` and `PreContentIterator`
when it scans DOM nodes in a range.  While iterating the DOM nodes, script
never runs.  Therefore, we can make `ContentEventHandler` work with new
content iterators which do not store nodes with strong pointers.

This patch makes `ContentIteratorBase` a template class and create new
`UnsafePostContentIterator` and `UnsafePreContentIterator`.  They will
check whether DOM mutation or GC occurs before destruction to detect dangerous
regressions.

Differential Revision: https://phabricator.services.mozilla.com/D184441
2023-08-10 00:59:28 +00:00
..
tests Bug 1837268, update inline spellchecker when text data is modified, r=masayuki 2023-08-03 09:25:44 +00:00
EditorSpellCheck.cpp Bug 1794811, part 1 - Include nsISupports.h instead of nsISupportsBase.h. r=necko-reviewers,nika,valentin 2022-10-17 16:09:22 +00:00
EditorSpellCheck.h
FilteredContentIterator.cpp Bug 1805931, part 2 - Automated removal of uses of ROOT and UNROOT CC macros. r=smaug 2022-12-15 19:45:01 +00:00
FilteredContentIterator.h Bug 1845215 - part 1: Make ContentIteratorBase a template class to work without strong pointers r=smaug 2023-08-10 00:59:28 +00:00
moz.build Bug 1793694 - part 4: Stop exposing HTMLEditUtils.h r=m_kato 2022-10-12 02:44:19 +00:00
nsComposeTxtSrvFilter.cpp
nsComposeTxtSrvFilter.h
nsIInlineSpellChecker.idl
TextServicesDocument.cpp Bug 1794811, part 1 - Include nsISupports.h instead of nsISupportsBase.h. r=necko-reviewers,nika,valentin 2022-10-17 16:09:22 +00:00
TextServicesDocument.h Bug 1793694 - part 4: Stop exposing HTMLEditUtils.h r=m_kato 2022-10-12 02:44:19 +00:00