Bug 1495964 - Remove unnecessary NS_ASSERTION in nsChildView::DispatchEvent() r=m_kato

The assertion was reasonable check before fixing bug 1446401.  However,
this is currently valid situation in UI Events spec.

Differential Revision: https://phabricator.services.mozilla.com/D7578

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Masayuki Nakano 2018-10-04 02:51:16 +00:00
Родитель d6182ea83e
Коммит 19d76978e8
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -1471,10 +1471,6 @@ nsChildView::DispatchEvent(WidgetGUIEvent* event, nsEventStatus& aStatus)
debug_DumpEvent(stdout, event->mWidget, event, "something", 0);
#endif
NS_ASSERTION(!(mTextInputHandler && mTextInputHandler->IsIMEComposing() &&
event->HasKeyEventMessage()),
"Any key events should not be fired during IME composing");
if (event->mFlags.mIsSynthesizedForTests) {
WidgetKeyboardEvent* keyEvent = event->AsKeyboardEvent();
if (keyEvent) {