Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1380652 - ContentCacheInParent::RequestIMEToCommitComposition() s…
…houldn't handle the request synchronously when its TabParent has already sent eCompositionCommit(AsIs) event of the composition r=m_kato If ContentCacheInParent::RequestIMEToCommitComposition() returns true after its TabParent has already sent eCompositionCommit(AsIs) event, ContentCacheInParent::OnEventNeedingAckHandled() will receive both eCompositionCommit(AsIs) and eCompositionCommitRequestHandled for a composition. Then, that causes making mPendingCompositionCount decreased twice. That causes the crash. So, even if its TabParent already lost focus, it should return false after its TabParent sent eCompositionCommit(AsIs). MozReview-Commit-ID: 6OylQtc8kgC --HG-- extra : rebase_source : 9d8f2ab2b25f129ddbca75fcc8fb4bc7c3a96e56
- Loading branch information