mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
08ba6f9b51
commit
3ee70b1986
@ -776,6 +776,7 @@ nsTextEditRules::WillDeleteSelection(Selection* aSelection,
|
||||
}
|
||||
|
||||
nsresult res = NS_OK;
|
||||
nsAutoScriptBlocker scriptBlocker;
|
||||
|
||||
if (IsPasswordEditor())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user