Closed Bug 287513 Opened 20 years ago Closed 20 years ago

Web page an example of the crash, sources included

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: uncle, Assigned: bugzilla)

References

()

Details

(Keywords: crash)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; fi-FI; rv:1.7.6) Gecko/20050318 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; fi-FI; rv:1.7.6) Gecko/20050318 Firefox/1.0.2

It seems that <body
onload='javascript:window.opener.location.reload();window.close()'> causes a
crash if the page it's on contains a file field in a form with a css class. It
could be something else too, but this seems to be replicable every time.

Reproducible: Always

Steps to Reproduce:
1. go to http://waphop.com/ffbug/main.php
2. click on link
3. crash

Actual Results:  
Windows error message about memory can't be read and firefox exit.

Expected Results:  
Close the window it opened and refresh the opener window.
WFM on the latest nightly build Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8b2) Gecko/20050321 Firefox/1.0+
crashes here (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b) Gecko/20050217)

The crash only happens if the text does not fit into the file-input and the
script can close the window.

This is a quite minimal testcase (changes to edit.php):

<body onload='window.close()'>
<form>
  <input type='file' name='userfile' style='height: 10px;'>
</form>
</body>
wfm with Mozilla/5.0 (Windows; U; Windows NT 5.2; de-DE; rv:1.8b2) Gecko/20050324

Please retest using a nightly build with talkback and post a talkback id from
that crash.
works for me,
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050223
Firefox/1.0.1

I'll be updating to 1.0.2 in a few minutes, I'll see if I can get it to crash
with that :-).
wfm with recent nightly build (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2)
Gecko/20050323)
Okay, after adding my latest comment I noticed Firefox stopped loading pages.
Any page at all. The same thing occurs on 1.0.2, which I just installed
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050317
Firefox/1.0.2]. I also can't open new windows anymore (no browser windows, no
bookmark manager, no ChatZilla, Live HTTP Headers, DOM Inspector etc. etc.)

This is not a crash though, but it seems related to this bugreport. Is there
anyone else who may be able to reproduce either of these two symptoms? Something
definately seems to be fudging up.

On a sidenote, I don't get any errors to the console, but I can't open the GUI
js console since I can't open new windows in general...
Keywords: crash
Summary: Web page an example of the crash, sources included. Just click on the link. → Web page an example of the crash, sources included
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050323
Firefox/1.0+

Testing on the latest nightly trunk build, WFM.  I didn't notice any of the
problems listed by anybody.  Mark this Resolved WFM?
Yes, also WFM in the latest nightly trunk build.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.