bug 624900 - '.com' portion of email address disappears when spanning to password field on facebook.com r=cjones a=blocking-fennec

This commit is contained in:
Brad Lassey 2011-02-23 11:21:07 -05:00
parent 85bb7d9710
commit 2858e9a1b5

View File

@ -336,6 +336,7 @@ PuppetWidget::IMEEndComposition(PRBool aCancel)
nsEventStatus status;
nsTextEvent textEvent(PR_TRUE, NS_TEXT_TEXT, this);
InitEvent(textEvent, nsnull);
textEvent.seqno = mIMELastReceivedSeqno;
// SendEndIMEComposition is always called since ResetInputState
// should always be called even if we aren't composing something.
if (!mTabChild ||
@ -350,6 +351,7 @@ PuppetWidget::IMEEndComposition(PRBool aCancel)
nsCompositionEvent compEvent(PR_TRUE, NS_COMPOSITION_END, this);
InitEvent(compEvent, nsnull);
compEvent.seqno = mIMELastReceivedSeqno;
DispatchEvent(&compEvent, status);
return NS_OK;
}