зеркало из https://github.com/mozilla/gecko-dev.git
Bug 657353 followup. Put a scriptblocker around our call to VisitGroup with nsRadioSetValueMissingState, since that dispatches state change notifications.
This commit is contained in:
Родитель
68939aec99
Коммит
e6b39b2296
|
@ -3832,6 +3832,8 @@ nsHTMLInputElement::UpdateValueMissingValidityStateForRadio(bool aIgnoreSelf)
|
|||
|
||||
SetValidityState(VALIDITY_STATE_VALUE_MISSING, valueMissing);
|
||||
|
||||
// nsRadioSetValueMissingState will call ContentStateChanged while visiting.
|
||||
nsAutoScriptBlocker scriptBlocker;
|
||||
nsCOMPtr<nsIRadioVisitor> visitor =
|
||||
new nsRadioSetValueMissingState(this, valueMissing, notify);
|
||||
VisitGroup(visitor, notify);
|
||||
|
|
Загрузка…
Ссылка в новой задаче