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
Go to file
Masayuki Nakano 610b4b4a2e Bug 1304620 part.4 ContentCacheInParent::mCompositionStart should be set to better value for mWidgetHasComposition state r=m_kato
ContentCacheInParent::mCompositionStart was set to ContentCacheInChild::mCompositionStart without any check.  However, that's clearly wrong approach.  For example, when the remote process handles some composition events after eCompositionCommit(AsIs) in the parent process, mCompositionStart is valid offset even after mWidgetHasComposition is set to false.  Similarly, even after parent process sends eCompositionStart, the remote process may send invalid offset for mCompositionStart due to no composition in it.

For solving this issue, ContentCacheInParent should check mWidgetHasComposition.

If it's true and coming offset is valid, let's use it (even if mPendingCompositionCount is 2 or bigger since widget shouldn't use WidgetQueryContentEvent when there are some pending events).

If the coming offset is invalid but mWidgetHasComposition is false, let's use selection start instead because HandleQueryContentEvent() can work around selection start offset only.

Otherwise, i.e., mWidgetHasComposition is false, we should always set mCompositionStart to invalid offset.

MozReview-Commit-ID: IONU0Cbhpil

--HG--
extra : rebase_source : 05ae9eb0e7a0bb63b65be7a54103eb798274c8ff
2016-10-12 22:05:09 +09:00
.cargo bug 1298422 - vendor byteorder into third-party/rust. r=froydnj 2016-09-08 15:12:34 -07:00
accessible Backed out changeset 0257341f6b62 (bug 1301232) for WinXP permaorange in test_content_integration.html 2016-10-11 18:42:46 -07:00
addon-sdk Bug 1305148: Ignore panel.resize when the panel isn't visible. r=gabor 2016-09-28 22:18:09 +01:00
b2g Bug 1309030 - Remove DOM/identity and related code. r=Ehsan 2016-10-10 13:55:16 -07:00
browser Merge m-c to autoland, a=merge 2016-10-12 14:44:21 -07:00
build Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop 2016-10-08 11:14:49 +02:00
caps Bug 1305012 - Downgrade a new channel's principal to NullPrincipal. r=smaug 2016-10-05 21:19:51 +02:00
chrome Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam 2016-09-26 22:03:25 +10:00
config Bug 1308076 - Move ClearKeyCencParser to PsshParser library. r=glandium 2016-10-06 20:23:38 +13:00
db/sqlite3 Bug 1293367 - Upgrade to SQLite 3.14.1. r=asuth 2016-08-18 22:02:22 -04:00
devtools Bug 1309650 - remove non remote friendly APIs from selection.js;r=pbro 2016-10-12 20:04:17 +02:00
docshell Bug 1308611 - Convert nsISHEntry.refreshURIList to nsIMutableArray. r=bz 2016-10-10 11:36:41 -07:00
dom Backed out changeset fe84473a739c (bug 567954) for failing mda tests due to own test 2016-10-13 11:32:45 +02:00
editor Bug 1309117 - Make ImgFromData fallible. r=masayuki 2016-10-11 19:28:30 +09:00
embedding Bug 1304201, r=nfroyd 2016-10-04 12:10:26 +02:00
extensions Bug 1267325 - Add outlier, outliers and outlier's to the en-US dictionary. r=ehsan 2016-10-06 11:18:22 +07:00
gfx Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel 2016-10-11 19:46:28 -07:00
gradle/wrapper Bug 1300094 - Update Gradle to 2.14.1 and Gradle Plugin to 2.1.3 r=sebastian 2016-09-22 14:31:01 -07:00
hal Bug 1306708 - Rename prio to nested in IPDL (r=dvander) 2016-10-04 20:34:54 -07:00
image Backed out 8 changesets (bug 1277803) for browser-chrome test failures a=backout 2016-10-12 14:26:00 -07:00
intl Bug 837961 - Part 1: Add scripts to update tzdata in ICU data files. r=Waldo 2016-10-06 22:37:20 -07:00
ipc Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop 2016-10-08 11:14:49 +02:00
js Merge m-c to autoland, a=merge 2016-10-12 14:44:21 -07:00
layout Bug 1090031: Apply CSS 'align-content' in flex containers if they *could* wrap (rather than if they *have* wrapped). r=mats 2016-10-12 09:04:03 -07:00
media merge mozilla-inbound to mozilla-central a=merge 2016-10-12 12:01:48 +02:00
memory Bug 1303232 - Use per-process reduced thread-ids when munging logalloc logs. r=njn 2016-09-20 13:44:27 +09:00
mfbt Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop 2016-10-08 11:14:49 +02:00
mobile Bug 1308946 - Part 1 - Ensure that empty views not matching the current panel level are hidden. r=liuche 2016-10-11 21:00:36 +02:00
modules Bug 1307596 - Add a preference for trimming third-party referrers. r=dragana 2016-10-05 16:36:16 -07:00
mozglue Bug 1298090 - [1.6] Extract and cache native libraries on APK update. r=glandium,snorp 2016-10-10 22:59:27 +02:00
netwerk Bug 1307596 - Add a preference for trimming third-party referrers. r=dragana 2016-10-05 16:36:16 -07:00
nsprpub Bug 1293329, Upgrade Firefox 51 to NSPR 4.13, finalizing version numbers, no code change, reusing r=ted 2016-09-27 03:34:52 +02:00
other-licenses Bug 945915 - Expose atk/at-spi STATE_CHECKABLE, r=yzen 2016-09-24 09:44:10 -04:00
parser Bug 1286911. r=wchen. 2016-09-27 13:47:53 +03:00
probes Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
python Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop 2016-10-08 11:14:49 +02:00
rdf Bug 1297300 - Add missing checks to GetSpec() calls in rdf/, startupcache/ and xpfe/. r=froydnj. 2016-08-31 09:08:42 +10:00
release/docker Bug 1297519 - Generate multilocale Firefox snaps r=Callek, a=release DONTBUILD 2016-09-17 10:53:41 -04:00
security Merge m-c to autoland, a=merge 2016-10-12 14:44:21 -07:00
services Bug 1302288 - Implement PlacesSyncUtils.bookmarks.fetch. r=markh 2016-09-19 14:53:43 -07:00
startupcache Bug 1297300 - Add missing checks to GetSpec() calls in rdf/, startupcache/ and xpfe/. r=froydnj. 2016-08-31 09:08:42 +10:00
storage Bug 1305202 - Use NullString() more and remove superfluous Truncates(). r=smaug 2016-09-23 21:10:01 -04:00
taskcluster Backed out changeset 68be44803595 (bug 1305485) for further investigations after failures when this landed 2016-10-13 10:00:00 +02:00
testing Bug 1304243, scroll the current item into view when opening a menulist after it gets positioned so that it scrolls properly if the popup gets cropped, r=ksteuber 2016-10-12 09:18:05 -04:00
third_party/rust/byteorder bug 1298422 - vendor byteorder into third-party/rust. r=froydnj 2016-09-08 15:12:34 -07:00
toolkit Bug 1302288 - Implement PlacesSyncUtils.bookmarks.fetch. r=markh 2016-09-19 14:53:43 -07:00
tools Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
uriloader Bug 1304531 - Remove CPOW usage in browser_web_protocol_handlers.js. r=Felipe 2016-09-20 18:54:03 -07:00
view Back out b00b37cb64ef (bug 1298709) for static analysis bustage 2016-09-05 20:14:56 -07:00
widget Bug 1304620 part.4 ContentCacheInParent::mCompositionStart should be set to better value for mWidgetHasComposition state r=m_kato 2016-10-12 22:05:09 +09:00
xpcom Merge m-c to autoland, a=merge 2016-10-12 14:44:21 -07:00
xpfe Bug 1297300 - Add missing checks to GetSpec() calls in rdf/, startupcache/ and xpfe/. r=froydnj. 2016-08-31 09:08:42 +10:00
.clang-format
.clang-format-ignore
.eslintignore Bug 1307705 - [ESLint] Re-add devtools/client/webconsole/ to .eslintignore. r=linclark 2016-10-04 23:59:00 -04:00
.eslintrc Bug 1245916: Unify eslint global discovery rules. r=pbrosset 2016-02-05 11:37:50 -08:00
.flake8 Backed out changeset e1d144423657 (bug 1280571) for making leaks hard to diagnose a=backout CLOSED TREE 2016-09-21 16:56:50 -07:00
.gdbinit bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04:00
.gdbinit_python bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04:00
.gitignore Bug 1301790 - Bundle codemirror into a single script;r=gl 2016-09-11 09:38:51 -07:00
.hgignore Bug 1301790 - Bundle codemirror into a single script;r=gl 2016-09-11 09:38:51 -07:00
.hgtags No bug - Tagging mozilla-central fc69febcbf6c0dcc4b3dfc7a346d8d348798a65f with FIREFOX_AURORA_51_BASE a=release DONTBUILD CLOSED TREE 2016-09-19 09:43:48 -04:00
.lldbinit Bug 1254128 - Make the Mozilla .lldbinit use the full path for topsrcdir. r=sparky 2016-03-01 16:36:08 +00:00
.taskcluster.yml bug 1298553 - enable chain of trust generation in the decision task. r=dustin 2016-09-27 12:45:22 -07:00
.ycm_extra_conf.py Bug 1293534: Fix .ycm_extra_conf after bug 1195748. r=gps 2016-08-09 10:30:58 -07:00
aclocal.m4 Bug 1262155 - Use moz.build instead of libffi's build system. r=ted,glandium 2016-08-08 16:58:54 -07:00
Android.mk
AUTHORS
build.gradle Bug 1300094 - Update Gradle to 2.14.1 and Gradle Plugin to 2.1.3 r=sebastian 2016-09-22 14:31:01 -07:00
client.mk Bug 1295751 - Make it possible to copy configure.in to configure. r=gps 2016-08-16 19:35:00 -07:00
client.py
CLOBBER Bug 1300895 - Touch CLOBBER DONTBUILD CLOSED TREE 2016-10-11 18:22:53 -07:00
configure.in Bug 1295751 - Make it possible to copy configure.in to configure. r=gps 2016-08-16 19:35:00 -07:00
configure.py Bug 1296503 - Switch config.status to unicode literals. r=ted 2016-08-24 07:32:52 +09:00
GNUmakefile
gradle.properties
gradlew
LEGAL
LICENSE
mach Bug 1279020 - [mach] Follow symlinked mach binary when searching for a srcdir, r=gps 2016-06-09 17:20:02 -04:00
Makefile.in Bug 1306405 - add BUILDSTATUS messages to the tup backend; r=chmanchester 2016-09-26 14:16:09 -04:00
moz.build Bug 1289194 - Move tools/fuzzing/libfuzzer reference to toolkit. r=ted 2016-09-10 02:27:23 +02:00
moz.configure Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop 2016-10-08 11:14:49 +02:00
mozilla-config.h.in Bug 1231314 - Turn mozilla-config.h and js-confdefs.h into CONFIGURE_DEFINE_FILES. r=gps 2015-12-15 08:06:11 +09:00
old-configure.in Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop 2016-10-08 11:14:49 +02:00
README.txt
settings.gradle Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian 2016-10-05 20:23:38 -07:00
test.mozbuild Bug 1229233 - Add a (incomplete) end-to-end build test. r=gps 2015-12-01 13:57:52 +09:00

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:

    http://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:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://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 http://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 -
    http://nightly.mozilla.org/