Closed Bug 293043 Opened 20 years ago Closed 19 years ago

Firefox crashes if we vote on the survey, the javascript code tries to open a new window

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED EXPIRED

People

(Reporter: deathwarrior, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050324 Epiphany/1.4.8 (Debian package 1.4.8-2)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050324 Epiphany/1.4.8 (Debian package 1.4.8-2)

In the page http://sunsite.unam.mx/ when we try to vote the surver (left side),
firefox crashes when it tries to open new window.
Specificaly is the version 1.0.3. I've tried with firefox 1.0 and the trouble is
not present.
The error was confirmed by other people who knows me.
The specific JavaScript code is the next:

function validar()
{

	if(!(document.forms[1].opcion[0].checked) &&
!(document.forms[1].opcion[1].checked) && !(document.forms[1].opcion[2].checked)
&& !(document.forms[1].opcion[3].checked) &&
!(document.forms[1].opcion[4].checked) &&
!(document.forms[1].opcion[5].checked)&&
!(document.forms[1].opcion[6].checked)&& !(document.forms[1].opcion[7].checked)){
    alert("Por favor responde a la pregunta ");
    return;
    }
	
    document.forms[1].action="sumar2.php";
    document.forms[1].submit();
}

Reproducible: Always

Steps to Reproduce:
1.open the page http://sunsite.unam.mx/
2.select a data base used by you (its only a survey). (select any radio button)
3.click on the button "Votar"

Actual Results:  
Firefox just crashes! :(

Expected Results:  
Open a new window to continue the secuence of a survey.

I use firefox under Debian Sarge and Ubuntu Hoary.
Firefox applications crashes in both systems :(
Epiphany and Mozilla (not firefox), works fine.
Reporter:
There are 2 problems with your bug report:
- we accept only bugs from official Mozilla.org builds (and you seem to use a
debian based Firefox)
- 1.0.3 is to old to report Gecko bugs (based on a 12+ months old Gecko)

Please download a nightly developer build
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk

If you still crash you should get a Talkback popup. Please sent the report and
open firefox/components/talkback to get the Talkback ID.
Please provide the talkback ID from that crash.

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050509
Firefox/1.0+

The recipe given WFM

If you know which Javascript is involved, do you have a reduced testcase?
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.