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 9d52ece477
commit e5166004a9

View File

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