Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

Checking the 'prevent this page from creating additional dialogs' box stops executing javascript on the next 'alert' statement

  • 2 отговора
  • 11 имат този проблем
  • 6 изгледи
  • Последен отговор от the-edmeister

more options

Hi,

I'm currently working on a javascript script. For debugging purposes I have it display lots of alerts so I can see what it's doing.

However, when I check the 'prevent this page from creating additional dialogs' box on one of the alerts, Firefox then stops executing the javascript on the next 'alert' statement in the script.

---

I get this error in Firebug:

Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMWindow.alert] [Break On This Error]

alert(responseData);

---

If I do not check the 'prevent this page from creating additional dialogs' box, the script works fine.

If I disable the Firebug extension the problem persists, so it cannot be a Firebug problem.

Is this a bug in Firefox? I'd appreciate any help.

Hi, I'm currently working on a javascript script. For debugging purposes I have it display lots of alerts so I can see what it's doing. However, when I check the 'prevent this page from creating additional dialogs' box on one of the alerts, Firefox then stops executing the javascript on the next 'alert' statement in the script. --- I get this error in Firebug: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMWindow.alert] [Break On This Error] alert(responseData); --- If I do not check the 'prevent this page from creating additional dialogs' box, the script works fine. If I disable the Firebug extension the problem persists, so it cannot be a Firebug problem. Is this a bug in Firefox? I'd appreciate any help.

Променено на от Stanzi1791

Всички отговори (2)

more options

Someone may reply, but you may have more success asking elsewhere, maybe on a mozillazine forum.

more options

Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
http://forums.mozillazine.org/viewforum.php?f=25
You'll need to register and login to be able to post in that forum.