gecko-dev/widget
Masayuki Nakano fb6e71084a Bug 1336028 NativeKey::GetFollowingCharMessage() should take newer char message when found char message and removed message from the queue is different but their scancode indicates same physical key r=m_kato
NativeKey::GetFollowingCharMessage() may remove a char message which is different from previously found message in the queue because hacky keyboard layout or utility can overwrite the wParam when it's removed from the queue.

Now, we should assume that newer message, i.e., actually removed from the queue, is the expected message by the user.  See bug 1336028 comment 0 for the actual scenarios which are collected by crash reports.
https://bugzilla.mozilla.org/show_bug.cgi?id=1336028#c0

MozReview-Commit-ID: 9ZgukHH1vfi

--HG--
extra : rebase_source : 15559e62882f97d5062703e2308fa1c22016f340
2017-02-02 23:28:48 +09:00
..
android Bug 1334728 - 2. Require string value for dispatch event type; r=snorp 2017-02-01 17:35:45 -05:00
cocoa Bug 1328066 - Don't broadcast the live-resize events to all browser windows unnecessarily. r=mstange 2017-02-01 10:38:16 -05:00
crashtests
gonk Bug 1325234 (part 10) - Final nsIWidget deCOMtamination clean-ups. r=mstange. 2016-12-21 15:58:09 +11:00
gtk Bug 1331820 - Fix misuse of NS_NewNativeLocalFile in widget/gtk/. r=froydnj 2017-01-21 15:45:17 +09:00
gtkxtbin
reftests Bug 1331296 : Part 1 - Remove or unprefix -moz-calc() from layout tests. r=heycam 2017-01-18 10:50:19 +08:00
tests Merge m-c to inbound, a=merge 2017-01-27 16:39:29 -08:00
uikit Bug 1325234 (part 10) - Final nsIWidget deCOMtamination clean-ups. r=mstange. 2016-12-21 15:58:09 +11:00
windows Bug 1336028 NativeKey::GetFollowingCharMessage() should take newer char message when found char message and removed message from the queue is different but their scancode indicates same physical key r=m_kato 2017-02-02 23:28:48 +09:00
x11
xremoteclient
BasicEvents.h Bug 1332191 Move CrossProcessSafeEvent() in EventStateManager.cpp to WidgetEvent::CanBeSentToRemoteProcess() r=smaug 2017-01-19 16:46:59 +09:00
CommandList.h
CompositorWidget.cpp Bug 1330037 - Propagate the CompositorOptions to all CompositorWidget instances. r=dvander 2017-01-12 17:29:42 -05:00
CompositorWidget.h Bug 1330037 - Propagate the CompositorOptions to all CompositorWidget instances. r=dvander 2017-01-12 17:29:42 -05:00
ContentCache.cpp
ContentCache.h
ContentEvents.h
EventClassList.h Bug 1322736 part.3 Remove dom::BeforeAfterKeyboardEvent and InternalBeforeAfterKeyboardEvent r=smaug 2016-12-16 16:25:22 +09:00
EventForwards.h
EventMessageList.h Bug 1322938 - Emit close event when HTMLDialogElement.prototype.close() is called. r=smaug 2016-12-23 16:01:50 +01:00
FontRange.h
GfxDriverInfo.cpp
GfxDriverInfo.h
GfxInfoBase.cpp Allow controlling the GPU process from xpcshell. (bug 1321492 part 8, r=mattwoodrow) 2017-01-26 16:35:55 -08:00
GfxInfoBase.h Allow controlling the GPU process from xpcshell. (bug 1321492 part 8, r=mattwoodrow) 2017-01-26 16:35:55 -08:00
GfxInfoCollector.cpp
GfxInfoCollector.h
GfxInfoWebGL.cpp
GfxInfoWebGL.h
GfxInfoX11.cpp
GfxInfoX11.h
IMEData.h
InProcessCompositorWidget.cpp Bug 1330037 - Propagate the CompositorOptions to all CompositorWidget instances. r=dvander 2017-01-12 17:29:42 -05:00
InProcessCompositorWidget.h Bug 1329362 - part 2, Add accessor functions for EGLNativeWindowType, ANativeWindow, and EGLSurface to AndroidCompositorWidget r=dvander,kats 2017-01-27 09:32:24 -08:00
InputData.cpp
InputData.h
LookAndFeel.h Bug 1325503 - Remove Windows {XP, Server 2003, Vista} support from widget/. r=jimm. 2016-12-23 13:13:31 +11:00
LSBUtils.cpp
LSBUtils.h
MiscEvents.h
MouseEvents.h Bug 1323976 - Part 1: Add eNoButton to WidgetMouseEventBase::buttonType. r=smaug 2017-01-12 17:53:38 +08:00
moz.build Bug 1331236 - Make nsPrintingPromptServiceX.mm cpp file instead of Objective-C++. r=mstange 2017-01-15 16:47:36 +09:00
NativeKeyToDOMCodeName.h
NativeKeyToDOMKeyName.h
nsAppShellSingleton.h
nsBaseAppShell.cpp Bug 1331804 - Add more runnable names (r=ehsan) 2017-01-24 16:34:37 -08:00
nsBaseAppShell.h
nsBaseClipboard.cpp
nsBaseClipboard.h
nsBaseDragService.cpp Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky 2017-01-05 15:31:56 +08:00
nsBaseDragService.h
nsBaseFilePicker.cpp
nsBaseFilePicker.h
nsBaseScreen.cpp
nsBaseScreen.h
nsBaseWidget.cpp Bug 1328066 - Don't broadcast the live-resize events to all browser windows unnecessarily. r=mstange 2017-02-01 10:38:16 -05:00
nsBaseWidget.h Bug 1328066 - Don't broadcast the live-resize events to all browser windows unnecessarily. r=mstange 2017-02-01 10:38:16 -05:00
nsClipboardHelper.cpp
nsClipboardHelper.h
nsClipboardProxy.cpp
nsClipboardProxy.h
nsColorPickerProxy.cpp
nsColorPickerProxy.h
nsContentProcessWidgetFactory.cpp
nsDatePickerProxy.cpp
nsDatePickerProxy.h
nsDeviceContextSpecProxy.cpp Bug 1324064: Stop accessing printer devices in the child when printing via parent. r=jimm 2017-01-06 11:29:11 +00:00
nsDeviceContextSpecProxy.h
nsDragServiceProxy.cpp
nsDragServiceProxy.h
nsFilePickerProxy.cpp Bug 1331820 - Fix misuse of NS_NewNativeLocalFile in nsFilePickerProxy.cpp. r=baku 2017-01-21 15:46:44 +09:00
nsFilePickerProxy.h
nsGUIEventIPC.h Bug 1322736 part.3 Remove dom::BeforeAfterKeyboardEvent and InternalBeforeAfterKeyboardEvent r=smaug 2016-12-16 16:25:22 +09:00
nsHTMLFormatConverter.cpp
nsHTMLFormatConverter.h
nsIApplicationChooser.idl
nsIAppShell.idl
nsIBaseWindow.idl
nsIBidiKeyboard.idl
nsIClipboard.idl
nsIClipboardDragDropHookList.idl
nsIClipboardDragDropHooks.idl
nsIClipboardHelper.idl
nsIClipboardOwner.idl
nsIColorPicker.idl
nsIDatePicker.idl
nsIDeviceContextSpec.h
nsIDisplayInfo.idl
nsIdleService.cpp
nsIdleService.h
nsIDragService.idl
nsIDragSession.idl Bug 1309596, add an updateDragImage method to modify the drag feedback image during the drag, r=smaug 2016-12-23 18:09:44 -05:00
nsIFilePicker.idl
nsIFormatConverter.idl
nsIGfxInfo.idl Allow controlling the GPU process from xpcshell. (bug 1321492 part 8, r=mattwoodrow) 2017-01-26 16:35:55 -08:00
nsIGfxInfoDebug.idl
nsIIdleService.idl
nsIIdleServiceInternal.idl
nsIJumpListBuilder.idl
nsIJumpListItem.idl
nsIKeyEventInPluginCallback.h
nsIMacDockSupport.idl
nsIMacWebAppUtils.idl
nsINativeMenuService.h
nsIPluginWidget.h
nsIPrintDialogService.h
nsIPrinterEnumerator.idl
nsIPrintSession.idl
nsIPrintSettings.idl
nsIPrintSettingsService.idl
nsIPrintSettingsWin.idl
nsIRollupListener.h
nsIScreen.idl
nsIScreenManager.idl
nsISound.idl
nsIStandaloneNativeMenu.idl
nsISystemStatusBar.idl
nsITaskbarOverlayIconController.idl
nsITaskbarPreview.idl
nsITaskbarPreviewButton.idl
nsITaskbarPreviewController.idl
nsITaskbarProgress.idl
nsITaskbarTabPreview.idl
nsITaskbarWindowPreview.idl
nsITransferable.idl
nsIWidget.h Bug 1325234 (part 9) - Remove remaining NS_IMETHOD_ occurrences from nsIWidget. r=mstange. 2016-12-21 15:27:20 +11:00
nsIWidgetListener.cpp
nsIWidgetListener.h
nsIWindowsUIUtils.idl
nsIWinTaskbar.idl
nsNativeTheme.cpp Bug 1326209 part 2 - Change background-color to use complex color. r=dholbert 2016-12-30 02:03:29 +11:00
nsNativeTheme.h
nsPrimitiveHelpers.cpp
nsPrimitiveHelpers.h
nsPrintOptionsImpl.cpp Bug 1324064: Stop accessing printer devices in the child when printing via parent. r=jimm 2017-01-06 11:29:11 +00:00
nsPrintOptionsImpl.h
nsPrintSession.cpp
nsPrintSession.h
nsPrintSettingsImpl.cpp
nsPrintSettingsImpl.h
nsScreenManagerProxy.cpp
nsScreenManagerProxy.h
nsShmImage.cpp
nsShmImage.h
nsTransferable.cpp
nsTransferable.h
nsWidgetInitData.h
nsWidgetsCID.h
nsXPLookAndFeel.cpp
nsXPLookAndFeel.h
PCompositorWidget.ipdl
PlatformWidgetTypes.ipdlh
PluginWidgetProxy.cpp Bug 1325234 (part 4) - Streamline nsIWidget::{SetFocus,SetNonClientMargins}(). r=mstange. 2016-12-21 11:13:08 +11:00
PluginWidgetProxy.h Bug 1325234 (part 4) - Streamline nsIWidget::{SetFocus,SetNonClientMargins}(). r=mstange. 2016-12-21 11:13:08 +11:00
PuppetBidiKeyboard.cpp
PuppetBidiKeyboard.h
PuppetWidget.cpp Make sure the last transaction is revoked when resetting content layer managers. (bug 1331548 part 3, r=mattwoodrow) 2017-02-01 23:52:48 -08:00
PuppetWidget.h Bug 1325234 (part 9) - Remove remaining NS_IMETHOD_ occurrences from nsIWidget. r=mstange. 2016-12-21 15:27:20 +11:00
ScreenProxy.cpp
ScreenProxy.h
SharedWidgetUtils.cpp
SystemTimeConverter.h
TextEventDispatcher.cpp
TextEventDispatcher.h
TextEventDispatcherListener.h
TextEvents.h Bug 1322736 part.3 Remove dom::BeforeAfterKeyboardEvent and InternalBeforeAfterKeyboardEvent r=smaug 2016-12-16 16:25:22 +09:00
TextRange.h
TouchEvents.h
VsyncDispatcher.cpp Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium. 2017-01-24 14:15:12 +11:00
VsyncDispatcher.h
WidgetEventImpl.cpp Bug 1332191 Move CrossProcessSafeEvent() in EventStateManager.cpp to WidgetEvent::CanBeSentToRemoteProcess() r=smaug 2017-01-19 16:46:59 +09:00
WidgetMessageUtils.h
WidgetTraceEvent.h
WidgetUtils.cpp
WidgetUtils.h
WindowSurface.h
WindowSurfaceX11SHM.cpp
WindowSurfaceX11SHM.h