mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
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:
parent
9d52ece477
commit
e5166004a9
@ -776,6 +776,7 @@ nsTextEditRules::WillDeleteSelection(Selection* aSelection,
|
||||
}
|
||||
|
||||
nsresult res = NS_OK;
|
||||
nsAutoScriptBlocker scriptBlocker;
|
||||
|
||||
if (IsPasswordEditor())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user