зеркало из https://github.com/mozilla/pjs.git
Bug 468211, r+sr=sicking
This commit is contained in:
Родитель
bcdf926134
Коммит
43b926eab7
|
@ -697,10 +697,11 @@ nsXULDocument::SynchronizeBroadcastListener(nsIDOMElement *aBroadcaster,
|
|||
nsIDOMElement *aListener,
|
||||
const nsAString &aAttr)
|
||||
{
|
||||
if (mUpdateNestLevel > 0) {
|
||||
if (!nsContentUtils::IsSafeToRunScript()) {
|
||||
nsDelayedBroadcastUpdate delayedUpdate(aBroadcaster, aListener,
|
||||
aAttr);
|
||||
mDelayedBroadcasters.AppendElement(delayedUpdate);
|
||||
MaybeBroadcast();
|
||||
return;
|
||||
}
|
||||
nsCOMPtr<nsIContent> broadcaster = do_QueryInterface(aBroadcaster);
|
||||
|
|
Загрузка…
Ссылка в новой задаче