Commit Graph
149 Commits
Author SHA1 Message Date
Sylvestre Ledru b0fe72dee5 Bug 1856795 - Remove redundant member init r=emilio
Done with:
./mach static-analysis check --checks="-*, readability-redundant-member-init" --fix .

https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-member-init.html

Differential Revision: https://phabricator.services.mozilla.com/D190002
2023-10-15 15:29:02 +00:00
Cristina Horotan 7388749830 Backed out 2 changesets (bug 1856795) for causing build bustage at BasicEvents.h CLOSED TREE
Backed out changeset 1d98b028923a (bug 1856795)
Backed out changeset eae2ac93e17c (bug 1856795)
2023-10-14 21:42:14 +03:00
Sylvestre Ledru 4a97019e39 Bug 1856795 - Remove redundant member init r=emilio
Done with:
./mach static-analysis check --checks="-*, readability-redundant-member-init" --fix .

https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-member-init.html

Differential Revision: https://phabricator.services.mozilla.com/D190002
2023-10-14 17:34:26 +00:00
Masayuki Nakano 85e42edb7a Bug 1841466 - Make ContentCacheInChild assert invalid cases with better message r=m_kato
The assertion reason "MOZ_DIAGNOSTIC_ASSERT(IsValid())" does not help us to
debug.  Make it assert with the minimum data of `ContentCache` instead.

Depends on D182652

Differential Revision: https://phabricator.services.mozilla.com/D182653
2023-07-07 23:13:20 +00:00
Masayuki Nakano 980aa9f225 Bug 1841464 - Make ContentCacheInChild return false from caching content methods if it creates invalid data r=m_kato
Once `PuppetWidget` sends invalid data, the parent process will return error
and that makes the sender content process crashed.  Therefore, if we detect
that we created invalid data, we should not send the invalid data to avoid
the crash.

Differential Revision: https://phabricator.services.mozilla.com/D182652
2023-07-07 03:25:52 +00:00
Masayuki Nakano ae23cff079 Bug 1690827 - part 5: Remove the assertion checking the number of pending composition event messages when receiving a commit request r=m_kato
E.g., when a character is inserted with a composition, i.e., without composing
state, like the Emoji picker of Windows, `BrowserParent` dispatches
`eCompositionStart`, `eCompositionChange` and `eCompositionCommit` message
within a short time.  Then, if focus is moved at `compositionstart` event in
the remote message, `eCompositionChange` and `eCompositionCommit` are not yet
handled by the remote process when `BrowserParent::OnEventNeedingAckHandled()`
received a commit request handled message.  Therefore, it's not invalid case
that a commit is handled without acknowledges of multiple pending composition
messages.  Therefore, the assertion should be removed, and instead, for making
it easier to understand the log, let's put the information of that.  Then, it's
obvious that ignored log of following `OnEventNeedingAckHandled()` calls is
valid thing.

Differential Revision: https://phabricator.services.mozilla.com/D181217
2023-06-20 01:53:39 +00:00
Masayuki Nakano dc2a772bc4 Bug 1835578 - Fix warnings of clang-tidy in XP IME handling code r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D179325
2023-06-14 01:57:34 +00:00
Masayuki Nakano a9dc0969fd Bug 1690827 - part 4: Make ContentCacheInParent::HandlingCompositionData store composition ID and some data which needs to be managed per composition r=m_kato
Then, we can know whether the message notification and commit request is for
proper one or outdated one, etc.  Therefore, this patch makes
`OnEventNeedingAckHandled()` and `RequestIMEToCommitComposition()` ignores
unexpected and/or outdated calls.  This should fix the crash reported in
bug 1466596 too.

Differential Revision: https://phabricator.services.mozilla.com/D179313
2023-06-14 01:57:34 +00:00
Masayuki Nakano 7065087f18 Bug 1690827 - part 3: Get rid of ContentCacheInChild::mPendingCommitCount r=m_kato
It's now not necessary.  We can check all pending composition data whether
there are some composition which waits commit in the remote process.

Differential Revision: https://phabricator.services.mozilla.com/D179312
2023-06-14 01:57:34 +00:00
Masayuki Nakano e5e6d080c5 Bug 1690827 - part 2: Make ContentCacheInParent::mWidgetHasComposition and ContentCacheInParent::mPendingCompositionCount should be managed by array of pending composition data r=m_kato
We need to make `ContentCacheInParent` store each pending composition data
for ignoring unexpected (including outdated) composition request/notifications
for protecting the main process's data, e.g., current composition.

This patch creates the place (array) and just simply store whether the
pending composition has already sent `eCompositionCommit(AsIs)` to the
remote process.

Differential Revision: https://phabricator.services.mozilla.com/D179311
2023-06-14 01:57:33 +00:00
Masayuki Nakano ae2415dd66 Bug 1690827 - part 1: Number each composition for native IME or synthesized in the parent process r=smaug
For handling (ignoring) "too late" composition commit request from content
process, we need to distinguish a request is for which composition.  Therefore,
we need to number each composition originated in the parent process.

This patch makes `TextComposition` instance which is created at first
composition event for a composition consider a composition ID in the parent
process and set it to composition events which are dispatched into the DOM
tree in the parent or sent to a remote process.

And also this patch adds the composition ID param to the request method of
committing composition and reply methods to notify the parent process of ending
a composition event handling.

The last patch handle them in `ContentCacheInParent` to consider
whether a request/reply should be ignored or handled.

Differential Revision: https://phabricator.services.mozilla.com/D179310
2023-06-14 01:57:33 +00:00
Cosmin Sabou db0847b0f7 Backed out 6 changesets (bug 1690827, bug 1835577, bug 1835578) for causing build bustages on widget/ContentCache.cpp. CLOSED TREE
Backed out changeset 8f96604b79a6 (bug 1835578)
Backed out changeset 3afcf20d7fb6 (bug 1835577)
Backed out changeset 41105bb6e199 (bug 1690827)
Backed out changeset feedd62f908d (bug 1690827)
Backed out changeset bc45f9483150 (bug 1690827)
Backed out changeset d2c874809470 (bug 1690827)
2023-06-13 09:31:03 +03:00
Masayuki Nakano ca5057f53d Bug 1835578 - Fix warnings of clang-tidy in XP IME handling code r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D179325
2023-06-13 04:07:46 +00:00
Masayuki Nakano aba7fae6fb Bug 1690827 - part 4: Make ContentCacheInParent::HandlingCompositionData store composition ID and some data which needs to be managed per composition r=m_kato
Then, we can know whether the message notification and commit request is for
proper one or outdated one, etc.  Therefore, this patch makes
`OnEventNeedingAckHandled()` and `RequestIMEToCommitComposition()` ignores
unexpected and/or outdated calls.  This should fix the crash reported in
bug 1466596 too.

Differential Revision: https://phabricator.services.mozilla.com/D179313
2023-06-13 04:07:45 +00:00
Masayuki Nakano c356290fc6 Bug 1690827 - part 3: Get rid of ContentCacheInChild::mPendingCommitCount r=m_kato
It's now not necessary.  We can check all pending composition data whether
there are some composition which waits commit in the remote process.

Differential Revision: https://phabricator.services.mozilla.com/D179312
2023-06-13 04:07:45 +00:00
Masayuki Nakano f20f1da497 Bug 1690827 - part 2: Make ContentCacheInParent::mWidgetHasComposition and ContentCacheInParent::mPendingCompositionCount should be managed by array of pending composition data r=m_kato
We need to make `ContentCacheInParent` store each pending composition data
for ignoring unexpected (including outdated) composition request/notifications
for protecting the main process's data, e.g., current composition.

This patch creates the place (array) and just simply store whether the
pending composition has already sent `eCompositionCommit(AsIs)` to the
remote process.

Differential Revision: https://phabricator.services.mozilla.com/D179311
2023-06-13 04:07:45 +00:00
Masayuki Nakano 15b0e0a16e Bug 1690827 - part 1: Number each composition for native IME or synthesized in the parent process r=smaug
For handling (ignoring) "too late" composition commit request from content
process, we need to distinguish a request is for which composition.  Therefore,
we need to number each composition originated in the parent process.

This patch makes `TextComposition` instance which is created at first
composition event for a composition consider a composition ID in the parent
process and set it to composition events which are dispatched into the DOM
tree in the parent or sent to a remote process.

And also this patch adds the composition ID param to the request method of
committing composition and reply methods to notify the parent process of ending
a composition event handling.

The last patch handle them in `ContentCacheInParent` to consider
whether a request/reply should be ignored or handled.

Differential Revision: https://phabricator.services.mozilla.com/D179310
2023-06-13 04:07:45 +00:00
Masayuki Nakano 4a0fb5dbcc Bug 1825693 - Make ContentCacheInChild::CacheTextRects stop emplacing Selection r=m_kato
It creates no range `Selection` if `mSelection` has not been emplaced.
However, we don't want `Selection` in the case because `mText` may be nothing
and that violates the dependency.  Therefore, it should stop creating
`Selection` in the case.

Note that first character rect will be cached later even if there is no
`Selection`.  However, this should not occur in usual case because `focus`
notification should've already initialized `mText` and `mSelection`.

Differential Revision: https://phabricator.services.mozilla.com/D178731
2023-05-26 01:24:36 +00:00
Masayuki Nakano 858a33f789 Bug 1825693 - Make PuppetWidget stop trying to cache Selection directly r=m_kato
Currently, `PuppetWidget` calls `ContentCacheInChild::CacheSelection` directly.
However, `mText` can be `Nothing` or `mText` can be outdated, but `mSelection`
becomes the latest one.  Therefore, we may notify the parent process with
invalid data combination.

The callers in `PuppetWidget` are:
1. `NotifyIMEOfCompositionUpdate`
2. `NotifyIMEOfPositionChange`

I think that the former does not need to cache anything here because
`IMEContentObserver` should've updated the text/selection changes.  However,
stopping caching everything at this point is risky.  In the most cases, outdated
data appears as odd IME UI position.  Therefore, let's keep updating only caret
and text rectangles.

The latter is reported with new crash reports which is crashed by a
`MOZ_DIAGNOSTIC_ASSERT` failure added by the previous patch.  In the case,
if `mText` and `mSelection` has not been cached, we don't need to notify
the parent process with them because they will be sent later.  And also even
if they are not available, it may be useful that the character rectangles not
related to `Selection` (e.g., the first character rect).  Therefore, let's
keep caching same things as the former case.

Therefore, this patch makes `CacheSelection` a private method and add
`CacheCaretAndTextRects` for them.

Differential Revision: https://phabricator.services.mozilla.com/D178145
2023-05-26 01:24:36 +00:00
Masayuki Nakano 3ea832e4ce Bug 1825693 - Make ContentCache stop assigning invalid data r=m_kato,nika
There are some crash reports crashed in TSF module which may be caused by
passing invalid selection range (e.g., out of bounds of text).  However,
the cache is created in the child process and that causes the invalid cache
creation does not appear in the crash reports.  Therefore, let's try to
crash as soon as possible if `ContentCache` has invalid data.

Note that this does not detect all of the invalid cases because it's hard to
(re-)understand the edge cases.  Therefore, this tries to detect the cases
checked in `ContentCacheInParent::HandleQueryContentEvent` (*1) and some other
obvious odd cases.

1. https://searchfox.org/mozilla-central/rev/0ffaecaa075887ab07bf4c607c61ea2faa81b172/widget/ContentCache.cpp#776-778

Differential Revision: https://phabricator.services.mozilla.com/D176747
2023-05-26 01:24:35 +00:00
Iulian Moraru c122c41577 Backed out 2 changesets (bug 1825693) for causing reftest failures related to ContentCache::Selection. CLOSED TREE
Backed out changeset 6a854fc8f509 (bug 1825693)
Backed out changeset f0646a32d694 (bug 1825693)
2023-05-19 04:15:46 +03:00
Masayuki Nakano c04aa2429c Bug 1825693 - Make PuppetWidget stop trying to cache Selection directly r=m_kato
Currently, `PuppetWidget` calls `ContentCacheInChild::CacheSelection` directly.
However, `mText` can be `Nothing` or `mText` can be outdated, but `mSelection`
becomes the latest one.  Therefore, we may notify the parent process with
invalid data combination.

The callers in `PuppetWidget` are:
1. `NotifyIMEOfCompositionUpdate`
2. `NotifyIMEOfPositionChange`

I think that the former does not need to cache anything here because
`IMEContentObserver` should've updated the text/selection changes.  However,
stopping caching everything at this point is risky.  In the most cases, outdated
data appears as odd IME UI position.  Therefore, let's keep updating only caret
and text rectangles.

The latter is reported with new crash reports which is crashed by a
`MOZ_DIAGNOSTIC_ASSERT` failure added by the previous patch.  In the case,
if `mText` and `mSelection` has not been cached, we don't need to notify
the parent process with them because they will be sent later.  And also even
if they are not available, it may be useful that the character rectangles not
related to `Selection` (e.g., the first character rect).  Therefore, let's
keep caching same things as the former case.

Therefore, this patch makes `CacheSelection` a private method and add
`CacheCaretAndTextRects` for them.

Depends on D176747

Differential Revision: https://phabricator.services.mozilla.com/D178145
2023-05-18 23:56:07 +00:00
Masayuki Nakano dfc755850d Bug 1825693 - Make ContentCache stop assigning invalid data r=m_kato,nika
There are some crash reports crashed in TSF module which may be caused by
passing invalid selection range (e.g., out of bounds of text).  However,
the cache is created in the child process and that causes the invalid cache
creation does not appear in the crash reports.  Therefore, let's try to
crash as soon as possible if `ContentCache` has invalid data.

Note that this does not detect all of the invalid cases because it's hard to
(re-)understand the edge cases.  Therefore, this tries to detect the cases
checked in `ContentCacheInParent::HandleQueryContentEvent` (*1) and some other
obvious odd cases.

1. https://searchfox.org/mozilla-central/rev/0ffaecaa075887ab07bf4c607c61ea2faa81b172/widget/ContentCache.cpp#776-778

Differential Revision: https://phabricator.services.mozilla.com/D176747
2023-05-18 23:56:06 +00:00
Noemi Erli 84665092bc Backed out changeset 4f6d49b8d207 (bug 1825693) for ContentCache crashes 2023-05-16 00:29:31 +03:00
Masayuki Nakano 5902d34aee Bug 1825693 - Make ContentCache stop assigning invalid data r=m_kato,nika
There are some crash reports crashed in TSF module which may be caused by
passing invalid selection range (e.g., out of bounds of text).  However,
the cache is created in the child process and that causes the invalid cache
creation does not appear in the crash reports.  Therefore, let's try to
crash as soon as possible if `ContentCache` has invalid data.

Note that this does not detect all of the invalid cases because it's hard to
(re-)understand the edge cases.  Therefore, this tries to detect the cases
checked in `ContentCacheInParent::HandleQueryContentEvent` (*1) and some other
obvious odd cases.

1. https://searchfox.org/mozilla-central/rev/0ffaecaa075887ab07bf4c607c61ea2faa81b172/widget/ContentCache.cpp#776-778

Differential Revision: https://phabricator.services.mozilla.com/D176747
2023-05-15 02:01:06 +00:00
Masayuki Nakano 3c362d7560 Bug 1810620 - Make ContentCacheInChild::CacheTextRects check mSelection.isSome() at logging it r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D166980
2023-01-18 01:32:55 +00:00
Christian Holler 0a30aad77e Bug 1781044 - Disable some diagnostic asserts in widget for IPC fuzzing. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D152639
2022-07-26 14:06:24 +00:00
Masayuki Nakano cd2d1e1364 Bug 1760160 - Make ContentCacheInChild stop storing content if editable element has already been blurred r=m_kato
It's designed for caching content information of focused editor.  However, at
sending focus notification to the main process, the editor may have already
been blurred but `IMEContentObserver` may have not known it yet.  In this edge
case, only query selection succeeds since IMEContentObserver still has a cache,
but query the others failed because of root content node check of
`IMEContentObserver::HandleQueryContentEvent`.  If a content process meets this
case, it should not send focus notification and stop storing the content since
IME shouldn't get focus nor query non-editable content.

On the other hand, the reported testcase reproduces this with a fuzzing API
called **in** the content process. Therefore, I have no idea how to reproduce
it without the API. That's the reason why this patch does not contain new tests.

Differential Revision: https://phabricator.services.mozilla.com/D141821
2022-04-07 00:58:49 +00:00
Masayuki Nakano 62f7c2b353 Bug 1755438 - Make ContentCacheInParent::GetTextRect check mSelection before referring it r=m_kato
Unfortunately, the adding test cannot reproduce the crash, but I have no idea
how to make `mSelection` being `Nothing` until next native event loop.  Anyway,
it's worthwhile to add new tests.

This patch just avoids `ContentCacheInParent::GetTextRect` referring
`mSelection` when there is no text rects and `mSelection` is `Nothing`.

Differential Revision: https://phabricator.services.mozilla.com/D138876
2022-02-17 08:53:35 +00:00
Masayuki Nakano b48caa5da5 Bug 1752956 - Make IMEContentObserver invalidate selection cache when it gets DOM mutations r=m_kato
Oddly, in some complicated web apps, `IMEContentObserver` may get selection
change notifications **after** sending a text change notification to IME.
However, I cannot reproduce it with simple testcase.  Therefore, the new test
does not test the original issue, but the approach of this patch must avoid
regressions of this special case handling.

Differential Revision: https://phabricator.services.mozilla.com/D137522
2022-02-08 00:13:21 +00:00
Masayuki Nakano 482b49d7d1 Bug 1746104 - part 6-5: Make ContentCache not stop caching other data when it fails caching something r=m_kato
Currently, `mSelection` is cached only when `mText` is some, text rects are
cached only when `mSelection` is cached.  However, as far as widget can work
with IME, it should cache content as far as possible.  Therefore, this patch
makes it keep querying content data even after something fails.

Differential Revision: https://phabricator.services.mozilla.com/D137431
2022-02-07 22:33:41 +00:00
Masayuki Nakano f490b8d471 Bug 1746104 - part 6-4: Make ContentCacheInParent and ContentCacheInChild handle the case there is no selection range r=m_kato
Even after applying this patch, it still returns error when queried with a
relative offset from selection and only when there is no composition string.
However, this shouldn't cause any problem because in this case, widget should
not try to query content with relative offset.

Differential Revision: https://phabricator.services.mozilla.com/D137430
2022-02-07 22:33:40 +00:00
Masayuki Nakano 34c118bb52 Bug 1746104 - part 6-3: Wrap ContentCache::mText with Maybe r=m_kato
For managing the state of text content cache independent from selection, it
should be wrapped with `Maybe`.

Differential Revision: https://phabricator.services.mozilla.com/D137429
2022-02-07 22:33:40 +00:00
Masayuki Nakano 515fa2902e Bug 1746104 - part 6-2: Make constructors of ContentCache::Selection take IMENotification::SelectionChangeData or WidgetQueryContentEvent r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D137428
2022-02-07 22:33:40 +00:00
Masayuki Nakano a61550f298 Bug 1746104 - part 6-0: Clean up logging code in ContentCache.cpp r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D137426
2022-02-07 22:33:39 +00:00
Masayuki Nakano 01d75dfeee Bug 1746104 - part 5-1: Get rid of WidgetQueryContentEvent::Reply::mHasSelection r=m_kato
It's intended to indicate whether the selection is collapsed or not, but it can
be referred by other members, there is no reasonable user and the name makes
developers confused.

Differential Revision: https://phabricator.services.mozilla.com/D137422
2022-02-07 22:33:37 +00:00
Nika Layzell 0e975d0e8d Bug 1741665 - Align nsCString's public size_type better with other C++ APIs, r=mccr8,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D131422
2021-12-13 21:47:56 +00:00
Masayuki Nakano 200f0f1839 Bug 1683226 - part 4: Make stop ContentCache check whether a plugin has focus or not r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D100103
2020-12-21 05:59:57 +00:00
Masayuki Nakano 7e741e472e Bug 1678553 - part 13: Make WidgetQueryContentEvent use Maybe to store some data r=m_kato,geckoview-reviewers
Sorry for this big patch.

This makes `WidgetQueryContentEvent::Reply` is stored with `Maybe` to get
rid of `WidgetQueryContentEvent`.  And `Reply` stores offset and string
with `Maybe` and ``OffsetAndData<uint32_t>`, and also tentative caret offset
with `Maybe`.  Then, we can get rid of `WidgetQueryContentEvent::NOT_FOUND`.

Note that I tried to make `OffsetAndData` have a method to create `NSRange`
for cocoa widget.  However, it causes the column limit`to 100 or longer
and that causes unrelated changes in `TextEvents.h` and `IMEData.h`.
Therefore, I create an inline function in `TextInputHandler.mm` instead.

Differential Revision: https://phabricator.services.mozilla.com/D98264
2020-12-02 05:32:19 +00:00
Masayuki Nakano b996731632 Bug 1678553 - part 12: Make ContentCache store character rects with Maybe r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D97981
2020-11-27 14:48:03 +00:00
Masayuki Nakano dfcf72f5a4 Bug 1678553 - part 11: Make ContentCache store its Caret with Maybe r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D97980
2020-11-27 14:47:50 +00:00
Masayuki Nakano 631561f8b9 Bug 1678553 - part 10: Make ContentCache store its Selection with Maybe r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D97979
2020-11-27 14:47:37 +00:00
Masayuki Nakano 6f8175e85c Bug 1678553 - part 9: Make ContentCacheInChild store last commit start offset and commit string with Maybe and OffsetAndData r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D97978
2020-11-27 14:47:30 +00:00
Narcis Beleuzu 2bd64edb68 Backed out 2 changesets (bug 1678553) for MinGW bustages on ToString.h
Backed out changeset a21c164db6ff (bug 1678553)
Backed out changeset 2f95b040da6c (bug 1678553)
2020-11-27 16:35:26 +02:00
Masayuki Nakano 43c0666641 Bug 1678553 - part 9: Make ContentCacheInChild store last commit start offset and commit string with Maybe and OffsetAndData r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D97978
2020-11-27 06:39:59 +00:00
Masayuki Nakano 5364bf5cc4 Bug 1677684 - part 2: Make ContentCache cache character rects in last commit composition string for undoing the commit r=m_kato
Usually, IME sets selection and considers candidate list position at starting
new composition.  However, Apple Japanese IME sometimes consider the candidate
list position at retrieving the character rects before setting selection.
Therefore, we need to store last commit string's character rects, but don't
need to store it in long time because Kakutei-Undo is supported by Japanese
IMEs and they work only immediately after committing a composition.  E.g.,
after moving caret, it won't be available.

Depends on D97838

Differential Revision: https://phabricator.services.mozilla.com/D97839
2020-11-24 01:31:46 +00:00
Masayuki Nakano 2947e7e614 Bug 1677684 - part 1: Make ContentCache manage composition start offset with Maybe instead of using a magic number r=m_kato
Currently, it manages the composition start offset with `uint32_t` and setting
it to `UINT32_MAX` when there is no composition.  But this is now rewritable
with `Maybe<uint32_t>` for easier to read.

Differential Revision: https://phabricator.services.mozilla.com/D97838
2020-11-23 09:29:34 +00:00
Masayuki Nakano 611df3e93f Bug 1677926 - Make TSFTextStore::GetTextExt() consider whether it can query content with relative offset from last composition start with TextEventDispatcher::IsComposing() r=m_kato
Immediately after committing composition, i.e., still remote content is
handling the commit, `ContentCacheInParent` does not think that it still
has composition, but `TSFTextStore::GetTextExt()` tries a query whose offset
is relative offset from the last composition start offset and then,
`ContentCacheInParent` solves it with selection start (typically, the last
composition end offset).  Therefore, this may cause returning error from
`GetTextExt()` and some TIP may fail to do something for next typing.

This patch makes `TSFTextStore::GetTextExt()` consider whether it'll query
content with relative offset from last composition start or selection start,
from `TextEventDispatcher::IsComposing()` result rather than
`TextEventDispatcher::IsHandlingComposition()` since the former means whether
there is composition in the chrome process, but the latter is there is
composition in focused process, and `ContentCacheInParent` state matches the
former.

Depends on D97270

Differential Revision: https://phabricator.services.mozilla.com/D97392
2020-11-19 09:34:45 +00:00
Simon Giesecke 1ee0a47195 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in widget. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D66012
2020-03-16 10:56:57 +00:00
Bogdan Tara 22b0fa7e80 Backed out 4 changesets (bug 1613985) for causing build bustages CLOSED TREE
Backed out changeset fba0caac746c (bug 1613985)
Backed out changeset 8605d7a19107 (bug 1613985)
Backed out changeset 41e858fbf235 (bug 1613985)
Backed out changeset 847433cf1e0a (bug 1613985)
2020-03-16 12:41:41 +02:00