gecko-dev/testing
Boris Zbarsky 77e7a5575a Bug 1343037 part 6. Simplify the setup around the editor state's GetSelectionRange function. r=ehsan
Really, there are only two cases we need to worry about.  Either
IsSelectionCached(), and then our SelectionProperties has the data we want, or
not and then we have a non-null mSelCon which has the data we want.

Since we are now using cached selection state a lot more (instead of
initializing the editor whenever someone asks for selection state), we need to
actually update it more correctly when .value is set.

And since we now update the cached selection state for the case when .value has
been set (to point to the end of the text), we need to change
HTMLInputElement::HasCachedSelection to return false for that case.  Otherwise
we will always do eager editor init on value set.  We handle that by not doing
eager init if the cached selection is collapsed.

The web platform test changes test the "update on .value set" behavior.  They
fail without this patch, pass with it.

MozReview-Commit-ID: DDU8U4MGb23
2017-03-09 14:44:04 -05:00
..
config Bug 1335873 - Convert marionette harness unittests to standard python unittests, r=maja_zf 2017-02-15 16:38:45 -05:00
crashtest
firefox-ui Bug 1288633 - Add SafeBrowsing report false positive URL test.r=francois 2017-02-21 11:25:04 +08:00
gtest Bug 1331049 - DeadlockDetector death test fails on osx tc build, extend timeout to 30 minutes. r=ted 2017-02-09 08:27:19 -05:00
instrumentation Bug 1326465 - add BUG_COMPONENTS to testing/. r=gbrown,ted 2016-12-30 16:16:56 -05:00
marionette Bug 1345274 - marionette-harness sdist package misses certificate files. r=ato 2017-03-08 12:17:43 +01:00
mochitest Bug 1281639 - Disable failing tests for Mochitest Media failures on Android, r=gbrown. 2017-03-08 10:17:07 -08:00
modules Bug 1317019 - Fix object iteration and check if scriptName exists. r=chmanchester,jmaher 2017-01-21 16:04:28 -07:00
mozbase Bug 1342954 - fixup formatting to keep flake8 happy, a=bustage 2017-02-28 14:50:55 +00:00
mozharness Merge m-c to inbound, a=merge 2017-03-07 16:45:07 -08:00
profiles Bug 1343665 part 1: Remove all mentions of about:config pref "layout.css.object-fit-and-position.enabled" from source files. r=mats 2017-03-02 10:04:00 -08:00
runtimes Bug 1326465 - add BUG_COMPONENTS to testing/. r=gbrown,ted 2016-12-30 16:16:56 -05:00
specialpowers Bug 1339006 - Specify event target if we run nsIURIClassifier.clasify() from content process.r=ehsan, r=gcp 2017-03-08 11:06:36 +08:00
talos Bug 1343549 - Avoid unbound return_code errors in talos; r=jmaher 2017-03-01 12:11:45 -07:00
tools Bug 1343361 - Auomatically replace `-u all` with a set of suites that do not include compiled tests when requesting an artifact build via |./mach try|. r=maja_zf 2017-02-28 14:27:57 -08:00
tps Bug 1313573 - Validate the sync ping during TPS test runs r=markh 2016-11-02 14:25:07 -04:00
web-platform Bug 1343037 part 6. Simplify the setup around the editor state's GetSelectionRange function. r=ehsan 2017-03-09 14:44:04 -05:00
xpcshell Backed out changeset a293a617ebed (bug 1321026) on suspicion of causing xpcshell bustage. r=backout on a CLOSED TREE 2017-03-06 23:35:17 +01:00
README.txt
cppunittest.ini Bug 1322707 - Stop building signaling_unittest and mediapipeline_unittests; r=jesup,glandium 2016-12-09 09:09:41 -10:00
mach_commands.py Bug 1345572 - Enhance 'mach test-info' with total and worst failure rates; r=jmaher 2017-03-08 16:01:44 -07:00
moz.build Bug 1330329 - set bug_components for talos tests in moz.build files. r=gbrown 2017-01-13 08:40:30 -05:00
remotecppunittests.py Bug 1307886 - [3.2] Extract xz-compressed libs for xpcshell and unit tests. r=glandium 2016-10-28 12:59:23 +02:00
runcppunittests.py Backed out changeset 6c32452df00e (bug 1238305) for cpp test failures a=backout 2016-11-02 12:18:58 -07:00
testsuite-targets.mk Bug 1200311 - Build the gtest libxul during the compile tier instead of package-tests. r=ted 2017-02-06 14:34:07 -08:00

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