fune/dom/ipc
Masayuki Nakano afaf41dcef Bug 1879765 - part 2: Make BrowserChild store the last code value of consumed eKeyDown event r=smaug
The builtin legacy IME of Windows to type a Unicode with typing a code point
causes consumed `eKeyDown` events while typing the code point, i.e., without
`eKeyPress` (FYI: The consumed state is not exposed to the web, it's used only
in chrome UI for the compatibility with Chrome).  Then, `BrowserChild` store
whether the last `eKeyDown` was consumed or not to prevent the following
`eKeyPress`.  Finally, a `eKeyPress` event is fired to input the Unicode
character after `eKeyUp` for `Alt`.  The stored value is set to new value only
when another `eKeyDown` event is sent from the parent process.  Therefore,
the last digit inputting `eKeyDown` causes `BrowserChild` thinking the last
`eKeyDown` is consumed so that the last `eKeyPress` is not dispatched.

This patch makes `BrowserChild` to store the `code` value of the last consumed
`eKeyDown` and check the `code` value to consider whether coming `eKeyPress`
should be or not be dispatched to `PresShell` and the DOM.

Differential Revision: https://phabricator.services.mozilla.com/D207957
2024-05-16 02:36:03 +00:00
..
gtest
jsactor Bug 1889236 - Use TryClone in QueryHandler::ResolvedCallback(). r=nika 2024-04-03 19:57:46 +00:00
tests Bug 1877879 - Add tests for for isActiveInTab. r=smaug 2024-04-08 14:38:32 +00:00
BrowserBridgeChild.cpp
BrowserBridgeChild.h
BrowserBridgeHost.cpp
BrowserBridgeHost.h
BrowserBridgeParent.cpp Bug 1873035 - Adjust mRefPoint for generated mouse event when sending to content process; r=smaug 2024-01-09 10:31:11 +00:00
BrowserBridgeParent.h
BrowserChild.cpp Bug 1879765 - part 2: Make BrowserChild store the last code value of consumed eKeyDown event r=smaug 2024-05-16 02:36:03 +00:00
BrowserChild.h Bug 1879765 - part 2: Make BrowserChild store the last code value of consumed eKeyDown event r=smaug 2024-05-16 02:36:03 +00:00
BrowserHost.cpp Bug 1865995 p6. Rename createAboutBlankContentViewer to match nsIDocumentViewer's new name. r=emilio,webdriver-reviewers,devtools-reviewers 2023-11-23 21:35:21 +00:00
BrowserHost.h
BrowserParent.cpp Bug 1892598 - Reuse IPCImage for PBrowser::SetCursor; r=smaug 2024-04-23 06:01:47 +00:00
BrowserParent.h Bug 1892598 - Reuse IPCImage for PBrowser::SetCursor; r=smaug 2024-04-23 06:01:47 +00:00
ClonedErrorHolder.cpp Bug 1866220 - Prevent refcounted non-WrapperCached DOM objects. r=farre,extension-reviewers,rpl 2023-11-24 10:38:18 +00:00
ClonedErrorHolder.h Bug 1866220 - Prevent refcounted non-WrapperCached DOM objects. r=farre,extension-reviewers,rpl 2023-11-24 10:38:18 +00:00
CoalescedInputData.cpp
CoalescedInputData.h
CoalescedMouseData.cpp
CoalescedMouseData.h
CoalescedTouchData.cpp Bug 1887435 - Ensure the isPrimary property of PointerEvent is correctly set for touch input; r=smaug 2024-04-11 21:49:49 +00:00
CoalescedTouchData.h
CoalescedWheelData.cpp
CoalescedWheelData.h
ColorPickerParent.cpp
ColorPickerParent.h
components.conf
ContentChild.cpp Bug 1889129 - Remove Android codec support probe from content process initialization r=jolin 2024-05-06 19:30:28 +00:00
ContentChild.h Bug 1889129 - Remove Android codec support probe from content process initialization r=jolin 2024-05-06 19:30:28 +00:00
ContentParent.cpp Bug 1880503 - Generate paired minidump when GPU process is killed following IPC timeout. r=aosmond,gsvelto 2024-05-14 12:58:35 +00:00
ContentParent.h Bug 1892231: Add a flag to the page load event indicating whether a webdriver is running. r=smaug 2024-05-09 14:42:16 +00:00
ContentParent_NotifyUpdatedDictionaries.h Backed out changeset ebc075fd132d (bug 1885246) for causing bc failures in /EnumSerializer.h CLOSED TREE 2024-03-23 02:08:24 -04:00
ContentProcess.cpp
ContentProcess.h
ContentProcessManager.cpp
ContentProcessManager.h
CSPMessageUtils.cpp
CSPMessageUtils.h
CustomElementTypes.ipdlh
DocShellMessageUtils.cpp
DocShellMessageUtils.h Bug 1865480. Rename nsIContentViewer to nsIDocumentViewer. r=layout-reviewers,emilio 2023-11-21 12:45:59 +00:00
DOMTypes.ipdlh Bug 1896150 - Add RenderBlockingStatusType to the PerformanceResourceTiming Interface, r=emilio,necko-reviewers 2024-05-15 12:57:05 +00:00
EffectsInfo.h
FilePickerMessageUtils.h
FilePickerParent.cpp Bug 1878401 - part 1 - Pass BrowsingContext to nsIFilePicker::Init instead of mozIDOMWindow r=geckoview-reviewers,win-reviewers,emilio,nika,m_kato,rkraesig 2024-02-28 21:29:37 +00:00
FilePickerParent.h Bug 1878401 - part 1 - Pass BrowsingContext to nsIFilePicker::Init instead of mozIDOMWindow r=geckoview-reviewers,win-reviewers,emilio,nika,m_kato,rkraesig 2024-02-28 21:29:37 +00:00
IdType.h
InProcessChild.h
InProcessImpl.cpp
InProcessParent.h
IPCTransferable.ipdlh Bug 1781280 - Reuse IPCImage for IPCDataTransferImageContainer; r=nika 2024-04-22 19:09:47 +00:00
JSOracleChild.cpp
JSOracleChild.h
JSOracleParent.cpp
JSOracleParent.h
JSValidatorChild.cpp Bug 1857536 - Remove unneeded struct CompilationStorage r=arai 2024-03-11 14:56:01 +00:00
JSValidatorChild.h
JSValidatorParent.cpp
JSValidatorParent.h
JSValidatorUtils.cpp
JSValidatorUtils.h
LoginDetectionService.cpp
LoginDetectionService.h
ManifestMessagesChild.sys.mjs
MaybeDiscarded.h
MemMapSnapshot.cpp
MemMapSnapshot.h
MemoryReportRequest.cpp
MemoryReportRequest.h
MemoryReportTypes.ipdlh
MMPrinter.cpp Bug 1886922: Do not dereference a Maybe if it is not Some r=mccr8 2024-03-22 15:32:39 +00:00
MMPrinter.h Bug 1886922: Do not dereference a Maybe if it is not Some r=mccr8 2024-03-22 15:32:39 +00:00
moz.build Backed out changeset ebc075fd132d (bug 1885246) for causing bc failures in /EnumSerializer.h CLOSED TREE 2024-03-23 02:08:24 -04:00
NativeThreadId.h
nsIDOMProcessChild.idl
nsIDOMProcessParent.idl
nsIHangReport.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
nsILoginDetectionService.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
PageLoadEventUtils.h Backed out changeset 1ed5eea3a1e1 (bug 1892231) for causing mochitests failures in test_focus.xhtml. 2024-04-26 09:05:08 +03:00
PBrowser.ipdl Bug 1892598 - Reuse IPCImage for PBrowser::SetCursor; r=smaug 2024-04-23 06:01:47 +00:00
PBrowserBridge.ipdl
PColorPicker.ipdl
PContent.ipdl Bug 1889129 - Remove Android codec support probe from content process initialization r=jolin 2024-05-06 19:30:28 +00:00
PContentPermission.ipdlh
PContentPermissionRequest.ipdl
PCycleCollectWithLogs.ipdl
PermissionMessageUtils.cpp
PermissionMessageUtils.h
PFilePicker.ipdl Bug 1866517 - Part 1: Start implementing close method for file picker r=emilio 2023-12-13 15:10:33 +00:00
PInProcess.ipdl Bug 1867360 - Require toplevel protocols to specify which processes they expect to be bound in, r=decoder,ipc-reviewers,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,aosmond,rkraesig,mccr8,kershaw 2024-01-18 23:07:18 +00:00
PJSOracle.ipdl Bug 1867360 - Require toplevel protocols to specify which processes they expect to be bound in, r=decoder,ipc-reviewers,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,aosmond,rkraesig,mccr8,kershaw 2024-01-18 23:07:18 +00:00
PJSValidator.ipdl
PProcessHangMonitor.ipdl Bug 1867360 - Require toplevel protocols to specify which processes they expect to be bound in, r=decoder,ipc-reviewers,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,aosmond,rkraesig,mccr8,kershaw 2024-01-18 23:07:18 +00:00
PreallocatedProcessManager.cpp
PreallocatedProcessManager.h
PrefsTypes.ipdlh
ProcessActor.cpp
ProcessActor.h
ProcessHangMonitor.cpp Bug Bug 1882552 - Add logging to QoS signals r=xpcom-reviewers,barret 2024-03-08 17:25:25 +00:00
ProcessHangMonitor.h
ProcessHangMonitorIPC.h
ProcessIsolation.cpp Bug 1887719 - More consistently use UTF8String/nsCString for URLs. r=necko-reviewers,webidl,anti-tracking-reviewers,places-reviewers,jari,kershaw,janv,smaug,hsivonen 2024-04-04 11:49:57 +00:00
ProcessIsolation.h
ProcessPriorityManager.cpp Bug 1876306 - Signal to content processes shutting down to raise the QoS priority of their main thread, then ignore all other QoS changes. r=nika 2024-03-08 17:25:24 +00:00
ProcessPriorityManager.h Bug 1770944 - Remove nsIMozBrowserFrame. r=smaug 2024-03-07 13:04:21 +00:00
PropertyBagUtils.cpp
PropertyBagUtils.h
PTabContext.ipdlh Bug 1875822 - Remove a bunch of dead JS plugin code. r=nika 2024-01-25 21:02:21 +00:00
PURLClassifier.ipdl
PURLClassifierInfo.ipdlh
PURLClassifierLocal.ipdl
PVsync.ipdl
PWindowGlobal.ipdl Bug 1848406 - Detect stateful bounces for window associated storages. r=bvandersloot,asuth 2024-04-17 20:29:04 +00:00
ReferrerInfoUtils.cpp
ReferrerInfoUtils.h
RefMessageBodyService.cpp
RefMessageBodyService.h
RemoteBrowser.cpp
RemoteBrowser.h
RemoteType.h
RemoteWebProgressRequest.cpp
RemoteWebProgressRequest.h
ServiceWorkerConfiguration.ipdlh
SharedMap.cpp
SharedMap.h
SharedMapChangeEvent.h
SharedMessageBody.cpp
SharedMessageBody.h
SharedStringMap.cpp
SharedStringMap.h
StringTable.h
StructuredCloneData.cpp Bug 1815339 - Add missing member to the StructuredCloneData move assignment operator; r=asuth 2023-10-25 22:15:11 +00:00
StructuredCloneData.h Bug 1889650 - Remove mentions of BuildClonedMessageDataFor from comments. r=asuth DONTBUILD 2024-04-04 16:24:50 +00:00
TabContext.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,media-playback-reviewers,padenot 2024-04-22 16:00:09 +00:00
TabContext.h Bug 1875822 - Remove a bunch of dead JS plugin code. r=nika 2024-01-25 21:02:21 +00:00
TabMessageTypes.h
TabMessageUtils.h
URLClassifierChild.h
URLClassifierParent.cpp
URLClassifierParent.h
UserActivationIPCUtils.h
VsyncChild.h
VsyncMainChild.cpp
VsyncMainChild.h
VsyncParent.cpp
VsyncParent.h
VsyncWorkerChild.cpp
VsyncWorkerChild.h
WindowGlobalActor.cpp
WindowGlobalActor.h
WindowGlobalChild.cpp Bug 1875528 - Part 6: Allow cycle-collecting the strong IPDL Manager reference, r=mccr8 2024-04-22 17:13:24 +00:00
WindowGlobalChild.h
WindowGlobalParent.cpp Bug 1677190 - Introduce SessionStoreFunctions for GeckoView package and move the existing SessionStoreFunctions from toolkit to the browser package. r=geckoview-reviewers,farre,nika,owlish 2024-04-30 11:17:55 +00:00
WindowGlobalParent.h Bug 1848406 - Detect stateful bounces for window associated storages. r=bvandersloot,asuth 2024-04-17 20:29:04 +00:00
WindowGlobalTypes.ipdlh