Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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

  • 2 відповіді
  • 11 мають цю проблему
  • 7 переглядів
  • Остання відповідь від 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.