зеркало из https://github.com/mozilla/gecko-dev.git
bf5792cbac
It's called by `PeekOffsetFor*` and `GetPrevNextBidiLevels`, so it's used for considering whether to put caret or move a selection range boundary. Therefore, it should treat nodes which can be managed by `Selection` as selectable. In theory, even if a native anonymous subtree does not have an independent selection, its content nodes should not be the container of the selection range boundaries of selection outside the subtree since Selection API shouldn't expose nodes in native anonymous subtrees. Therefore, it can simply treat content nodes in different anonymous subtrees are not selectable. Note that it's not standardized that how `Selection.modify` works with various content nodes. https://w3c.github.io/selection-api/#dom-selection-modify And also Chrome cannot cross generated content like form controls with this API. This could cause web-compat issues, but it does not make sense for caret navigation, and anyway out of scope of this bug. Therefore, this patch just adds the crash test. Differential Revision: https://phabricator.services.mozilla.com/D172204 |
||
---|---|---|
.. | ||
awsy | ||
condprofile | ||
config | ||
crashtest | ||
docs | ||
extensions | ||
firefox-ui | ||
geckodriver | ||
gtest | ||
jsshell | ||
marionette | ||
mochitest | ||
modules | ||
mozbase | ||
mozharness | ||
perfdocs | ||
performance | ||
profiles | ||
raptor | ||
runtimes | ||
specialpowers | ||
talos | ||
tools | ||
tps | ||
web-platform | ||
webcompat | ||
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