Firefox and Javascript

I have a window with a variable number of sets of radio buttons I need to get the values of, so I have some javascript that does a few iterations of ids and uses eval to read the values since i don’t know in advance what the radio buttons are called. Sometimes it works flawlessly. sometimes Firefox just disappears, and sometimes this happens:

Firefox telling me there's something wrong with my javascript.

Firefox telling me there's something wrong with my javascript.

Safari seems to work ok, and of course all the javascript debugging tools I have are part of Firefox. Oh well.

Tags: ,

7 Responses to “Firefox and Javascript”

  1. Asa Dotzler says:

    Paul, if you submitted those reports, you can visit the browser URL about:crashes and see links to your reports. If you posted a couple of those links, I could figure out where it’s crashing and make sure that there is a bug filed with Mozilla to fix the problem.

    - A

  2. Asa Dotzler says:

    Oh, Yikes, I see. Sorry, I misunderstood. The Firefox crash reporter itself is crashing at the same time as Firefox. That means it’s probably not sending the reports to Mozilla. That’s very odd.

  3. paul says:

    Hi Asa – wow – thanks for the reply. I’m impressed. But yes it’s the crash reporter that’s crashing. Only sometimes though – if it’s just firefox I’ve been sending the reports in – I’ve got the id of one of them – 71d691ef-3702-4aec-af6c-c1e982090409 if that’s any good. I don’t see any links though.

  4. Asa Dotzler says:

    Paul, it looks like that particular crash is fixed in Firefox 3.5 pre-release builds. If you’re daring, you could try the recently released beta at http://www.mozilla.com/en-US/firefox/all-beta.html

    - A

  5. paul says:

    Cool – Thank you, I will try that. I guess I’ll just post a blog entry if I find anything else – seems to be a pretty good way to pass on information :-)

  6. Asa Dotzler says:

    Yeah. I see pretty much any mention of Mozilla or Firefox :-)

  7. Asa Dotzler says:

    Good luck, and thanks for choosing Firefox!

    - A

Leave a Reply