gecko-dev/testing
Masayuki Nakano e4ea50f3f8 Bug 1533293 - part 1: Create Selection::SetStartAndEnd() to set new range as far as faster r=smaug
`Selection::Extend()` is too slow because:
- it may create some `nsRange` instances.
- it users `nsContentUtils::ComparePoints()` multiple times.

Therefore, we can improve the performance if we can stop using it in some
places.  First, this patch creates `Selection::SetStartAndEnd()` and
`Selection::SetStartAndEndInLimiter()` for internal use.  They remove
current ranges, reuse `nsRange` instance as far as possible and add new
range which is set by their arguments.  Then, this patch makes
`Selection::SelectAllChildren()` stop using `Selection::Extend()`.  At this
time, this fixes a web-compat issue.  `Selection::Expand()` cannot cross the
selection limiter boundary when there is a limiter (e.g., when an editing host
has focus).  But we can now fix this with using the new internal API.

Note that methods in editor shouldn't move selection to outside of active
editing host.  Therefore, this patch adds `Selection::SetStartAndEndInLimiter()`
and `Selection::SetBaseAndExtentInLimiter()` for them.

Differential Revision: https://phabricator.services.mozilla.com/D23459

--HG--
extra : moz-landing-system : lando
2019-03-26 10:06:00 +00:00
..
awsy Bug 1353013 - move new tab preload browser tracking into a separate module, r=dthayer 2019-03-19 17:29:14 +00:00
config Bug 1528992 - extract raptor mitmproxy integration - r=rwood,Bebe,gbrown 2019-03-06 17:13:21 +00:00
crashtest
extensions
firefox-ui Bug 1517528 - Capstone: convert about:privatebrowsing using gandalf's conversion script, r=Gijs,jaws,zbraniecki,flod 2019-03-18 18:05:13 +00:00
geckodriver no bug - fix spelling of 'mozila' tree-wide r=me 2019-03-18 15:55:18 -07:00
gtest Bug 1534605 - Update gtest and gmock to version 1.8.1. r=gbrown 2019-03-12 16:34:09 +00:00
jsshell
marionette Bug 1538782 - Check for null when accessing tabModal. r=whimboo 2019-03-26 00:55:03 +00:00
mochitest Bug 1536353 - part 3: Make nsIDOMWindowUtils.dispatchDOMEventViaPresShell() dispatch only trusted event r=smaug 2019-03-26 10:10:22 +00:00
modules Bug 1529643 - Implement MitM priming on certificate error pages. r=keeler,mconley 2019-03-13 23:36:54 +00:00
mozbase Bug 1538677 - [mitmproxy] Allow mitmproxy commands at maximum 30s of runtime. r=rwood,tarek 2019-03-25 15:45:09 +00:00
mozharness Bug 1538134: [mozharness] Don't override PGO settings per-branch; r=aki 2019-03-25 16:03:12 +00:00
profiles Bug 1493317 Part 2 - Enable AccessibleCaret in unit tests. r=jchen 2019-03-16 07:38:34 +00:00
raptor Backed out changeset 030cb27161ee (bug 1538786) for raptor failures in testing/raptor/test/test_manifest.py::test_get_raptor_test_list_firefox CLOSED TREE 2019-03-26 04:52:51 +02:00
runtimes Bug 1403938 - remove Canvas Debugger client; r=vporof 2019-03-13 16:46:12 +00:00
specialpowers Bug 1534969 - Ensure that extension.id/uuid is set in browser tests r=aswan 2019-03-13 18:48:53 +00:00
talos Bug 1429796 - cert_storage: create rkv environment and store only once to avoid races r=mgoodwin,jcj 2019-03-20 00:01:47 +00:00
tools Bug 1532919 - [marionette] Remove outdated browsermob-proxy mixin from marionette harness package. r=ato 2019-03-07 12:26:43 +00:00
tps Bug 1530587 - Don't optimize jars without preloading/reordering data. r=chmanchester 2019-02-27 01:26:46 +00:00
web-platform Bug 1533293 - part 1: Create Selection::SetStartAndEnd() to set new range as far as faster r=smaug 2019-03-26 10:06:00 +00:00
webdriver Bug 1529289 - Add web frame and web window types to web webdriver Rust crate. r=ato 2019-03-09 14:09:48 +00:00
xpcshell Bug 1527316 - Setup MOZ_NODE_PATH as part of bootstrapping r=gbrown 2019-03-22 12:44:52 +00:00
cppunittest.ini
mach_commands.py
moz.build
parse_build_tests_ccov.py
README.txt
remotecppunittests.py Bug 1532462 - Avoid permission error in Android cppunittests on some devices by creating destination directory; r=bc 2019-03-05 17:03:27 +00:00
runcppunittests.py
testsuite-targets.mk

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