gecko-dev/testing
Masayuki Nakano 92ead719bd Bug 1566795 - part 5: Make the for loop of `HTMLEditor::RemoveInlinePropertyInternal()` partially selected text nodes r=m_kato
If selection range is not in **one** text node, `RemoveInlinePropertyInternal()`
collects target nodes with `SubtreeContentIterator`.  It only collects topmost
nodes which are **entirely** contained in the range (it's enough because their
descendants will be handled by `RemoveStyleInside()` recursively).

The reasons why it uses `SubtreeContentIterator` rather than
`PreContentIterator` must be:
1. Performance reason.
2. Assuming there are no multiple text nodes.
3. Not expects that user removes text node styles come from parent block.

The reason 2 is wrong because when removing a style, all browsers don't
join text nodes which was in removing element with adjacent text nodes.
(I.e., we cannot change this behavior for compatibility.)

The reason 3 is of course wrong we're struggling with this scenario.

Therefore, `RemoveInlinePropertyInternal()` needs to collect partially
selected text nodes by itself (if there are).  Then, we can merge the
single text node selected case with the `for` loop.

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

--HG--
extra : moz-landing-system : lando
2019-10-08 09:24:47 +00:00
..
awsy bug 1354458 - Replacing self.wait_for_condition() with Wait().until() function r=whimboo 2019-10-02 14:04:33 +00:00
condprofile Bug 1583615 - use internal PyPI - r=rwood 2019-10-04 17:44:08 +00:00
config Bug 1585422: update mac hostutils r=gbrown 2019-10-03 22:08:45 +00:00
crashtest Bug 1546185 - Also check mEventDispatchingSuspended to see if we are in sync event loop r=baku 2019-10-01 11:31:43 +00:00
extensions
firefox-ui bug 1354458 - Replacing self.wait_for_condition() with Wait().until() function r=whimboo 2019-10-02 14:04:33 +00:00
geckodriver bug 1585949: geckodriver: get rid of regex use in tests; r=webdriver-reviewers,whimboo 2019-10-04 09:48:23 +00:00
gtest
jsshell
marionette Bug 1530110 - element.isInView throws for non-HTML elements. r=whimboo 2019-10-06 11:29:00 +00:00
mochitest Backed out 6 changesets (bug 1456995) for devtools failure at browser/browser_aboutdebugging_serviceworker_timeout.js. On a CLOSED TREE 2019-10-05 01:58:08 +03:00
modules Bug 1582785 - Enable some xpcshell tests on Android; r=geckoview-reviewers,agi 2019-09-23 22:43:55 +00:00
mozbase Bug 1585702 - [mozprocess] Fix "Embedded null character" error in Windows with Python 3, r=gbrown 2019-10-04 17:46:38 +00:00
mozharness Bug 1580356 - Pre: Don't collect package metrics. r=mshal 2019-10-04 20:56:27 +00:00
profiles Bug 1586346 - Remove duplicate pref setting in raptor's user.js file. r=perftest-reviewers,stephendonner 2019-10-04 17:18:03 +00:00
raptor Bug 1581990 - Have raptor-browsertime tests use the raptor browser profile/prefs r=nalexander 2019-10-07 13:41:56 +00:00
runtimes
specialpowers Bug 1586119: Part 2 - Fix some more tests to almost work under Fission. r=mccr8 2019-10-04 21:50:34 +00:00
talos Bug 1587131 - Compute proper remote type for talos framescripts r=mconley 2019-10-08 17:54:25 +00:00
tools Bug 1567642 - [lint.flake8] Fix misc flake8 under Python 3 lint issues r=gbrown 2019-09-24 14:44:01 +00:00
tps Bug 1567642 - [lint.flake8] Fix misc flake8 under Python 3 lint issues r=gbrown 2019-09-24 14:44:01 +00:00
web-platform Bug 1566795 - part 5: Make the for loop of `HTMLEditor::RemoveInlinePropertyInternal()` partially selected text nodes r=m_kato 2019-10-08 09:24:47 +00:00
webdriver bug 1520585: webdriver: release 0.40.2; r=webdriver-reviewers,jgraham 2019-09-09 10:59:27 +00:00
xpcshell Backed out 6 changesets (bug 1456995) for devtools failure at browser/browser_aboutdebugging_serviceworker_timeout.js. On a CLOSED TREE 2019-10-05 01:58:08 +03:00
README.txt
addtest.py
cppunittest.ini Bug 1578895 - Compare NT paths if NtOpenFile failed with STATUS_OBJECT_PATH_NOT_FOUND. r=aklotz 2019-09-23 17:59:42 +00:00
mach_commands.py Bug 1586027 - Fix lint error. r=lint-fix 2019-10-04 00:03:33 +03:00
moz.build
parse_build_tests_ccov.py
remotecppunittests.py
runcppunittests.py
testsuite-targets.mk Bug 1562870 - generate conditioned profiles r=gbrown,bc,aerickson 2019-09-16 19:44:35 +00: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