Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

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

  • 2 odpovede
  • 11 má tento problém
  • 7 zobrazení
  • Posledná odpoveď od 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.

Upravil(a) Stanzi1791 dňa

Všetky odpovede (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.