Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Masayuki Nakano 18f7821c7b Bug 1425997 - Don't try to remove whitespaces in WSRunObject::ConvertToNBSP() when the text node is changed by mutation observer r=m_kato
WSRunObject::ConvertToNBSP() inserts an NBSP, then, removes following ASCII
whitespaces.  When inserting an NBSP, mutation observer may change the
text node.  In this case, it shouldn't keep working on removing ASCII
whitespaces because it may causes unexpected result.

This patch also renames ConvertToNBSP() and GetAsciiWSBounds() to
InsertNBSPAndRemoveFollowingASCIIWhitespaces() and
GetASCIIWhitespacesBounds() for making their jobs clearer.

MozReview-Commit-ID: TVy9fEKL6p

--HG--
extra : rebase_source : f0bce124055a86caca57334f06c75a46098f69ac
2017-12-21 19:27:31 +09:00
.cargo Backed out 2 changesets (bug 1401647) for Spidermonkey Build Bustage on Linux x64. r=backout on a CLOSED TREE 2017-12-21 14:14:26 +02:00
.vscode Bug 1423565 - Update tasks.json as per documentation. r=rillian 2017-12-06 14:59:35 +01:00
accessible Bug 1426868 - Check that child document still exists after parent processing r=surkov 2017-12-23 08:15:00 +02:00
browser Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-28 23:40:20 +02:00
build Bug 1426785 - Remove mozconfig.gtk. r=gps 2017-12-22 07:57:05 +09:00
caps Bug 1424474 part 1. Make sure we don't call into the chrome registry's AllowContentToAccess with non-chrome URLs. r=gijs 2017-12-21 10:54:43 -05:00
chrome Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
config Bug 1426555 - Make autospider builds use --enable-stdcxx-compat on Linux only. r=sfink 2017-12-21 09:50:16 +09:00
db Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
devtools Merge inbound to mozilla-central r=merge a=merge 2017-12-27 23:37:41 +02:00
docshell Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz 2017-12-25 17:50:10 +01:00
dom Bug 1423990 - Follow-up for conditionally compiled code for Thunderbird. r=smaug 2017-12-26 02:58:00 +02:00
editor Bug 1425997 - Don't try to remove whitespaces in WSRunObject::ConvertToNBSP() when the text node is changed by mutation observer r=m_kato 2017-12-21 19:27:31 +09:00
embedding Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
extensions Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz 2017-12-25 17:50:10 +01:00
gfx Bug 1425000 - Use a consistent window for CSP, etc. for FontFace loads. r=jfkthame 2017-12-21 14:07:31 -05:00
gradle/wrapper Bug 1366644 - Part 3a: Update Android build-tools (25.0.3), Gradle (3.4.1), Android-Gradle (2.3.3). r=maliu 2017-10-16 15:09:15 -07:00
hal Bug 1412048 - Replace NS_RUNTIMEABORT("...") with MOZ_CRASH("..."). r=froydnj 2017-10-24 23:30:31 -07:00
image Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
intl Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
ipc Bug 1425926 - Add IPC serialization support for EnumSet. r=botond 2017-12-27 21:46:03 +01:00
js Bug 1427168 - IonMonkey: MIPS: Fix GSImm13 encode. r=yuyin 2017-12-28 16:12:47 +08:00
layout Bug 1426345 - Invalidate MathML display items when we destroy the referenced nsMathMLChar. r=mwoodrow 2017-12-27 08:39:06 +01:00
media Bug 1427150 - Update cubeb from upstream to 43e15fc. r=kamidphish 2017-12-28 08:41:23 +09:00
memory Bug 1417504 - Also wrap Heap{Alloc,ReAlloc,Free} when building without our allocator. r=njn 2017-12-19 14:46:23 +09:00
mfbt Bug 1424834 - LinkedList::sizeOfExcludingThis should use ConstRawType instead of T* r=njn 2017-12-20 01:13:53 +01:00
mobile Bug 1427285 - Fix typo in build.gradle to correctly reflect crash reporter state in BuildConfig. r=JanH 2017-12-28 17:15:05 +01:00
modules Bug 1426270 - Add telemetry for prefs loading. r=glandium. 2017-12-21 16:36:16 +11:00
mozglue Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
netwerk Bug 1425807 - Convert nsHostKey members to nsCString r=valentin 2017-12-22 14:08:17 -08:00
nsprpub Bug 1420407, Land NSPR 4.18 into FF 59, NSPR_4_18_BETA5, r=me 2017-12-21 14:58:24 +01:00
other-licenses Backed out 5 changesets (bug 1418425) for Windows updater bustages and xpshell failures on toolkit/mozapps/update/tests/unit_base_updater/marSuccessPartial.js r=backout on a CLOSED TREE 2017-12-12 17:48:45 +02:00
parser Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz 2017-12-25 17:50:10 +01:00
python Bug 1427213: Clean up docstrings in mozpack.path; r=glandium 2017-12-27 15:57:32 -07:00
rdf Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
security No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-12-28 11:09:38 -08:00
services Bug 1426742 - Fix TPS test_history and cleanup failures. r=kitcambridge 2017-12-21 15:15:24 -05:00
servo servo: Merge #19646 - style: Move touch-action outside of mako (from CYBAI:move-touch-action-out-of-mako); r=emilio 2017-12-29 06:08:33 -06:00
startupcache Bug 1408017 - Clear gStartupCacheWrapper in the dtor. r=froydnj 2017-10-26 16:47:27 -04:00
storage Bug 1421992 - Hand written cleanup patch to make tests pass after removing obsolete xpcshell functions. r=Gijs,ochameau a=Aryx 2017-12-21 11:11:57 +01:00
taskcluster Bug 1427195: Remove broken prepare_vcs_checkout for comm-central builds in run-task (partial backout of bug 1427061); r=me a=partial backout for breaking thunderbird 2017-12-27 10:58:48 -07:00
testing Bug 1425399 - Added python 3 support to mozprofile. r=wlach 2017-12-22 12:11:06 +05:30
third_party Bug 1405877 - Update Rust deps for media/audioipc. r=kamidphish 2017-12-20 14:51:11 +13:00
toolkit Bug 1425879 - Disable browser_autocomplete_insecure_warning.js on linux and osx, for ongoing intermittent failures; r=me, a=test-only 2017-12-28 10:57:34 -07:00
tools Bug 1427213: Clean up docstrings in mozpack.path; r=glandium 2017-12-27 15:57:32 -07:00
uriloader Backed out changeset 9660ff09c221 (bug 1297686) for xpcshell failures at uriloader/exthandler/tests/unit/test_handlerService_json.js r=backout on a CLOSED TREE 2017-12-28 19:41:50 +02:00
view Bug 1414666 part 1 - Add nsIFrame::PresShell() for convenient access to the shell. r=emilio 2017-11-09 03:00:48 +01:00
widget Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz 2017-12-25 17:50:10 +01:00
xpcom Backed out changeset 9660ff09c221 (bug 1297686) for xpcshell failures at uriloader/exthandler/tests/unit/test_handlerService_json.js r=backout on a CLOSED TREE 2017-12-28 19:41:50 +02:00
xpfe Bug 1425363 - remove onWindowTitleChanged given that nobody uses it, r=bgrins 2017-12-14 21:55:44 -06:00
.arcconfig Bug 1424950: Add missing repository.callsign to .arcconfig. r=dkl 2017-12-13 15:38:18 +01:00
.clang-format Bug 1414764 - Remove Mozilla specific options to avoid build warnings with gcc and -Wcomment enabled. r=sylvestre 2017-11-06 11:47:40 +02:00
.clang-format-ignore Backed out changeset 31f259ee387b (bug 1411004) for failing flake8 at tools/mach_commands.py:307:14 | indentation is not a multiple of four. r=backout 2017-10-31 16:20:11 +01:00
.cron.yml Bug 1418188 - Run Searchfox indexing in TaskCluster on a daily basis (r=dustin,chmanchester) 2017-11-23 07:25:12 -08:00
.eslintignore Bug 1426205 - ES module usage in exported tests cause eslint errors. r=k88hudson 2017-12-19 10:57:22 -08:00
.eslintrc.js Backed out 2 changesets (bug 1425688) on request from jorgk for breaking the Certificate Manager r=backout a=backout 2017-12-28 15:26:09 +02:00
.flake8 Bug 1395126 - Support cascading configuration for flake8, r=bc 2017-08-29 17:32:31 -04:00
.gdbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.gdbinit_python Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.gitignore Bug 1419836 - ID .gitignore entry ignores "id" locale (for mac). r=standard8 2017-11-22 10:30:55 -08:00
.hgignore Bug 1415168 - Fix 404 error when running talos speedometer locally; r=igoldan 2017-11-28 15:35:44 -05:00
.hgtags No bug - Tagging mozilla-central 1f91961bb79ad06fd4caef9e5dfd546afd5bf42c with FIREFOX_NIGHTLY_58_END. a=release DONTBUILD CLOSED TREE 2017-11-12 21:12:59 -05:00
.inferconfig Bug 1357629 - Add httpclientandroidlib to .inferconfig ignore list r=nalexander,njpark 2017-04-18 20:05:25 -07:00
.lldbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.taskcluster.yml Bug 1424138: Stop sending pulse message to treeherder staging routes; r=camd,dustin 2017-12-07 21:19:00 -07:00
.yamllint Bug 1392795 - [yamllint] Group paths to lint by their closest config and run each config group separately, r=dustin 2017-08-23 11:28:28 -04:00
.ycm_extra_conf.py
AUTHORS Bug 1111333 - Enable double-tap-drag to zoom. r=kats 2017-05-23 19:53:06 +02:00
CLOBBER Bug 1416465 - Expand pattern when track file is created rather than read. r=mshal 2017-12-02 16:51:19 +09:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1424651: Remove unused SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE mozconfig variable; r=ted.mielczarek 2017-12-10 23:05:05 -07:00
README.txt
aclocal.m4 Bug 1363992 - Remove jemalloc 4. r=njn 2017-05-11 13:23:07 +09:00
build.gradle (bug 1411688) Make --with-gradle handle single-locale repack r=snorp a=reland 2017-11-06 15:23:47 +02:00
client.mk Bug 1417264 - Write .mozconfig.json from Python; r=nalexander 2017-11-13 17:45:03 -08:00
client.py Bug 1399100 - fix client.py follow-up, r=kaie 2017-09-20 09:13:14 +02:00
configure.in
configure.py Bug 1412460 - Don't write make variables in configure.d; r=mshal 2017-11-01 15:02:11 -07:00
gradle.properties Bug 1366644 - Pre: Bump Gradle JVM heap to allow in-process dex. r=maliu 2017-07-18 17:59:57 -07:00
gradlew
mach
moz.build Bug 1417309 - Add the necessary bits to support a --enable-project=memory option. r=nalexander 2017-11-16 08:37:36 +09:00
moz.configure Bug 1425035 - move --enable-ui-locale to moz.configure; r=gps 2017-12-18 14:21:26 -08:00
mozilla-config.h.in Bug 1426898 - Stop including Char16.h everywhere. r=Waldo 2017-12-23 00:53:12 +09:00
npm-shrinkwrap.json Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
old-configure.in Bug 1423856 - Backed out changeset 411a410f23b4. Seems that bug 1424294 wasnt' enough to fix it r=me 2017-12-22 21:36:17 +01:00
package.json Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop 2017-10-09 10:54:16 +01:00
settings.gradle Bug 1360587 - Part 2. Remove bouncer apk build config; source; docs, r=nalexander 2017-10-25 22:51:44 +08:00
test.mozbuild

README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/