gecko-dev/widget/android
Masayuki Nakano b87a7f9729 Bug 1447866 - GeckoEditableSupport::SendIMEDummyKeyEvent() should set native key bindings to none before dispatching keyboard events which are marked as "processed by IME" r=esawin
When EditorEventListener receives keyboard events, it tries to execute
native key bindings which are stored by each keyboard event.  For performance
reason in e10s, TabParent initializes native key binding information of every
keyboard event before sending it to the remote process.  Therefore,
PuppetWidget checks if every keyboard event has native key binding information.
However, the native key binding information of dummy keyboard events marked as
"processed by IME" on Android are never initialized before sending PuppetWidget.
Therefore, we hit MOZ_ASSERT in PuppetWidget.

This patch makes GeckoEditableSuppor::SendIMEDummyKeyEvent() set native key
binding information to "none" before dispatching every keyboard event since
keyboard events during composition shouldn't cause any edit actions.

MozReview-Commit-ID: Bk532ahCQP6

--HG--
extra : rebase_source : 939c1befd4b587681192b6827e7c7fa52619d498
2018-03-23 11:54:01 +09:00
..
bindings
fennec Bug 1445408 - Remove nsIDOMClientRect. r=bz 2018-03-13 14:19:17 +01:00
jni Bug 1402519 - Remove MOZ_CRASHREPORTER directives from widget; r=froydnj 2017-11-23 10:59:04 +01:00
ANRReporter.cpp Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange. 2017-10-04 09:11:18 +11:00
ANRReporter.h
AndroidAlerts.cpp
AndroidAlerts.h
AndroidBridge.cpp Bug 1445408 - Remove nsIDOMClientRect. r=bz 2018-03-13 14:19:17 +01:00
AndroidBridge.h Bug 1406168 - 4. Remove unused code; r=snorp 2017-11-01 14:48:48 -04:00
AndroidBridgeUtilities.h
AndroidColors.h Bug 1406168 - 5. Fix build; r=snorp 2017-11-01 14:48:49 -04:00
AndroidCompositorWidget.cpp
AndroidCompositorWidget.h Bug 1426329 - Reduce includes of GLContext.h in headers. - r=lenzak 2017-12-20 11:45:32 -08:00
AndroidContentController.cpp
AndroidContentController.h
AndroidDirectTexture.h
AndroidGraphicBuffer.h
AndroidUiThread.cpp Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
AndroidUiThread.h
EventDispatcher.cpp Bug 1442250 - 3. Track EventDispatcher attach/detach; r=esawin 2018-03-09 12:34:37 -05:00
EventDispatcher.h Bug 1442250 - 3. Track EventDispatcher attach/detach; r=esawin 2018-03-09 12:34:37 -05:00
GeckoBatteryManager.h
GeckoEditableSupport.cpp Bug 1447866 - GeckoEditableSupport::SendIMEDummyKeyEvent() should set native key bindings to none before dispatching keyboard events which are marked as "processed by IME" r=esawin 2018-03-23 11:54:01 +09:00
GeckoEditableSupport.h Bug 1343451 - part 5: Make GeckoEditableSupport dispatch dummy eKeyDown and eKeyUp event during composition always r=jchen 2018-02-27 17:24:35 +09:00
GeckoNetworkManager.h
GeckoProcessManager.h Bug 1406168 - 5. Fix build; r=snorp 2017-11-01 14:48:49 -04:00
GeckoScreenOrientation.h
GeckoVRManager.h Bug 1413362 - part 1: Add GeckoVRManager to support GVR WebVR implementation on Android r=jchen,snorp 2017-11-07 10:50:14 -08:00
GeneratedJNINatives.h Bug 1422137 - Rename NativePanZoomController to PanZoomController r=rbarker 2018-03-22 12:39:53 -05:00
GeneratedJNIWrappers.cpp Bug 1422137 - Rename NativePanZoomController to PanZoomController r=rbarker 2018-03-22 12:39:53 -05:00
GeneratedJNIWrappers.h Bug 1422137 - Rename NativePanZoomController to PanZoomController r=rbarker 2018-03-22 12:39:53 -05:00
GfxInfo.cpp Bug 1402519 - Remove MOZ_CRASHREPORTER directives from widget; r=froydnj 2017-11-23 10:59:04 +01:00
GfxInfo.h Bug 1441270 - Remove unused WebGL parameter getters. r=jgilbert 2018-02-26 20:35:12 +01:00
PrefsHelper.h Bug 1384835 (part 2, attempt 2) - Remove the Preferences::Get*String() variants that return nsAdoptingString. r=froydnj. 2017-07-31 14:23:50 +10:00
moz.build Bug 1419581 - Part 2: Guard media Fennec JNI primitives with MOZ_NATIVE_DEVICES. r=jchen 2017-12-06 20:28:04 -08:00
nsAndroidProtocolHandler.cpp Bug 1435671 - Reduce binary size by making NS_MutateURI.Apply not be a templated method r=mayhemer 2018-02-21 01:00:54 +01:00
nsAndroidProtocolHandler.h
nsAppShell.cpp Bug 1445408 - Remove nsIDOMClientRect. r=bz 2018-03-13 14:19:17 +01:00
nsAppShell.h
nsClipboard.cpp Bug 1412872 - 8. Remove GeckoAppShell dependency in gecko-view; r=snorp 2017-11-01 14:54:04 -04:00
nsClipboard.h
nsDeviceContextAndroid.cpp Bug 1407103 - Convert wstring attributes to AString in widget/nsIPrint*.idl. r=bobowen. 2017-10-09 10:08:09 +11:00
nsDeviceContextAndroid.h Bug 1436263 - Part 3: Remove `virtual` from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
nsIAndroidBridge.idl
nsIdleServiceAndroid.cpp Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
nsIdleServiceAndroid.h Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
nsLookAndFeel.cpp Bug 1417356 - xpcshell doesn't have Java thread. r=jchen 2017-11-16 12:25:26 +09:00
nsLookAndFeel.h Bug 1436263 - Part 3: Remove `virtual` from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
nsNativeThemeAndroid.cpp Bug 1439751 - Remove all members from nsIDOMHTMLInputElement. r=qdot 2018-02-20 23:10:44 +01:00
nsNativeThemeAndroid.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
nsPrintSettingsServiceAndroid.cpp Bug 144114 part 2 - Rename nsPrintOptions and its subclasses to nsPrintSettingsService*. r=bobowen 2017-12-19 10:42:15 +00:00
nsPrintSettingsServiceAndroid.h Bug 144114 part 3 - Clean up the headers of the nsPrintSettingsService subclasses. r=bobowen 2017-12-19 11:05:37 +00:00
nsScreenManagerAndroid.cpp
nsScreenManagerAndroid.h
nsWidgetFactory.cpp Bug 144114 part 2 - Rename nsPrintOptions and its subclasses to nsPrintSettingsService*. r=bobowen 2017-12-19 10:42:15 +00:00
nsWindow.cpp Bug 1448490 - Make the layers id a struct instead of a uint64_t. r=mattwoodrow 2018-03-24 19:06:01 -04:00
nsWindow.h Bug 1448490 - Make the layers id a struct instead of a uint64_t. r=mattwoodrow 2018-03-24 19:06:01 -04:00