mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
c204c013dd
`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 |
||
---|---|---|
.. | ||
tests | ||
EditorSpellCheck.cpp | ||
EditorSpellCheck.h | ||
FilteredContentIterator.cpp | ||
FilteredContentIterator.h | ||
moz.build | ||
nsComposeTxtSrvFilter.cpp | ||
nsComposeTxtSrvFilter.h | ||
nsIInlineSpellChecker.idl | ||
TextServicesDocument.cpp | ||
TextServicesDocument.h |