mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00

It allows multiple edit action preserves `Selection` when updating the DOM tree. However, most callers do not use `finally` to reset the state, and this makes edit action handling complicated in some edge cases. Therefore, let's stop supporting this feature. If Thunderbird requires the feature, the developers should request additional param for preserving `Selection` like the preceding patch. Depends on D196004 Differential Revision: https://phabricator.services.mozilla.com/D196005