gecko-dev/dom/events
Masayuki Nakano 9467d56cf9 Bug 1388647 - part1: IMEStateManager::OnChangeFocusInternal() shouldn't request to commit composition with sFocusedIMETabParent r=m_kato
When a remote process has focus and it loses focus,
IMEStateManager::OnChangeFocusInternal() sends NOTIFY_IME_OF_BLUR via
IMEStateManager::NotifyIMEOfBlurForChildProcess().  Therefore,
sFocusedIMETabParent and sFocusedIMEWidget are set to nullptr here. So, if a
window becomes active, REQUEST_IME_TO_COMMIT_COMPOSITION in
IMEStateManager::OnChangeFocusInternal() won't work because
IMEStateManager::NotifyIME() ignores the request because of coming from wrong
process.

Therefore, IMEStateManager::OnChangeFocusInternal() needs to send
REQUEST_TO_COMMIT_COMPOSITION with proper process information which is only
stored by TextComposition instance.

MozReview-Commit-ID: KNEvOoQtK1E

--HG--
extra : rebase_source : 2d0c9297a6ffd3e7883130c80deec0479212148e
2017-08-09 18:04:28 +09:00
..
crashtests
test Bug 1351148 Part7: Revise window_wheel_default_action.html to wait event 'FullZoomChange' and then check the result. r=smaug. 2017-07-07 11:48:42 +08:00
AnimationEvent.cpp
AnimationEvent.h
AsyncEventDispatcher.cpp
AsyncEventDispatcher.h
BeforeUnloadEvent.cpp
BeforeUnloadEvent.h
ClipboardEvent.cpp
ClipboardEvent.h
CommandEvent.cpp
CommandEvent.h
CompositionEvent.cpp
CompositionEvent.h
ContentEventHandler.cpp
ContentEventHandler.h
CustomEvent.cpp
CustomEvent.h
DOMEventTargetHelper.cpp Bug 1389460 - Remove @deprecated nsIDOMEventTarget.DispatchDOMEvent. r=smaug 2017-08-07 02:28:52 +09:00
DOMEventTargetHelper.h
DataTransfer.cpp
DataTransfer.h
DataTransferItem.cpp Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron. 2017-08-04 14:40:52 +10:00
DataTransferItem.h
DataTransferItemList.cpp
DataTransferItemList.h
DeviceMotionEvent.cpp
DeviceMotionEvent.h
DragEvent.cpp
DragEvent.h
Event.cpp
Event.h
EventDispatcher.cpp Bug 1388119 - Drop support for createEvent("ErrorEvent"/"PopStateEvent"); r=smaug 2017-08-07 21:19:59 +03:00
EventDispatcher.h
EventListenerManager.cpp Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly 2017-08-08 14:41:05 -07:00
EventListenerManager.h
EventListenerService.cpp
EventListenerService.h
EventNameList.h Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly 2017-08-08 14:41:05 -07:00
EventStateManager.cpp
EventStateManager.h
EventStates.h
EventTarget.cpp
EventTarget.h
FocusEvent.cpp
FocusEvent.h
IMEContentObserver.cpp
IMEContentObserver.h
IMEStateManager.cpp Bug 1388647 - part1: IMEStateManager::OnChangeFocusInternal() shouldn't request to commit composition with sFocusedIMETabParent r=m_kato 2017-08-09 18:04:28 +09:00
IMEStateManager.h
ImageCaptureError.cpp
ImageCaptureError.h
InputEvent.cpp
InputEvent.h
InternalMutationEvent.h
JSEventHandler.cpp
JSEventHandler.h
KeyNameList.h Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly 2017-08-08 14:41:05 -07:00
KeyboardEvent.cpp
KeyboardEvent.h
MessageEvent.cpp
MessageEvent.h
MouseEvent.cpp
MouseEvent.h
MouseScrollEvent.cpp
MouseScrollEvent.h
MutationEvent.cpp
MutationEvent.h
NotifyPaintEvent.cpp
NotifyPaintEvent.h
PaintRequest.cpp
PaintRequest.h
PhysicalKeyCodeNameList.h
PointerEvent.cpp
PointerEvent.h
ScrollAreaEvent.cpp
ScrollAreaEvent.h
SimpleGestureEvent.cpp
SimpleGestureEvent.h
SpeechRecognitionError.cpp
SpeechRecognitionError.h
StorageEvent.cpp
StorageEvent.h
TextClause.cpp
TextClause.h
TextComposition.cpp
TextComposition.h
Touch.cpp Backed out 3 changesets (bug 1382499) for eslint failures a=backout 2017-08-11 13:49:34 -07:00
Touch.h Backed out 3 changesets (bug 1382499) for eslint failures a=backout 2017-08-11 13:49:34 -07:00
TouchEvent.cpp Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly 2017-08-08 14:41:05 -07:00
TouchEvent.h
TransitionEvent.cpp
TransitionEvent.h
UIEvent.cpp
UIEvent.h
VirtualKeyCodeList.h
WheelEvent.cpp
WheelEvent.h
WheelHandlingHelper.cpp
WheelHandlingHelper.h
XULCommandEvent.cpp
XULCommandEvent.h
moz.build
nsIEventListenerService.idl