зеркало из https://github.com/mozilla/gecko-dev.git
c8894e5ea6
This change is corresponding to the part: https://searchfox.org/mozilla-central/rev/73a14f1b367948faa571ed2fe5d7eb29460787c1/editor/libeditor/HTMLEditSubActionHandler.cpp#3143-3155 When caret is not adjacent the deleting character in bidi text, we may do nothing except putting caret to the character. So, `ComputeRangesToDelete()` shouldn't update the caret position since the caret position will be check by its `Run()` later if `beforeinput` event is not canceled. For avoiding the code duplication, this patch reimplements `EditorBase::SetCaretBidiLevelForDeletion()` as a stack only class and split the check and updating part from correcting the data. Note that by the default pref, the new tests failed since it won't be canceled, and the method still don't compute for deleting a character. Differential Revision: https://phabricator.services.mozilla.com/D88378 |
||
---|---|---|
.. | ||
awsy | ||
condprofile | ||
config | ||
crashtest | ||
extensions | ||
firefox-ui | ||
geckodriver | ||
gtest | ||
jsshell | ||
marionette | ||
mochitest | ||
modules | ||
mozbase | ||
mozharness | ||
perfdocs | ||
performance | ||
profiles | ||
raptor | ||
runtimes | ||
specialpowers | ||
talos | ||
tools | ||
tps | ||
web-platform | ||
webdriver | ||
xpcshell | ||
README.txt | ||
addtest.py | ||
cppunittest.ini | ||
mach_commands.py | ||
moz.build | ||
parse_build_tests_ccov.py | ||
remotecppunittests.py | ||
runcppunittests.py | ||
testinfo.py | ||
testsuite-targets.mk |
README.txt
Common testing tools for mozilla codebase projects, test suite definitions for automated test runs, tests that don't fit anywhere else, and other fun stuff