Bug 842892 - Block scripts while extending the selection for deletion in order to prevent a crash when changing the type of an input; r=smaug

This commit is contained in:
Ehsan Akhgari 2013-02-22 18:40:09 -05:00
parent 08ba6f9b51
commit 3ee70b1986

View File

@ -776,6 +776,7 @@ nsTextEditRules::WillDeleteSelection(Selection* aSelection,
}
nsresult res = NS_OK;
nsAutoScriptBlocker scriptBlocker;
if (IsPasswordEditor())
{