Closed Bug 104578 Opened 23 years ago Closed 21 years ago

Crashes on javascript link

Categories

(Core :: DOM: Navigation, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: furboo, Assigned: adamlock)

References

()

Details

(Keywords: crash, platform-parity)

Attachments

(1 file, 1 obsolete file)

Go to the URL and for any of the items listed, click on the "magnifying glass".
A new window is created, which soon disappears, and then typically the entire
browser crashes (sometimes, the browser does _not_ crash, but try it a few times).
wfm with win2k build 20011011..

Reporter: 
Please include in all bug reports the build ID !
Can you use a talkback enabled build and poste the talkback ID of that crash ?
bug confirmed with build 2001101221 linux
wfm using build 2001101203 on Win2k. The popup windows does not disappear for me.
...sorry. Build ID is 2001101202 on linux.
-> Dom0

and confirming based on the comments
Assignee: rogerl → jst
Status: UNCONFIRMED → NEW
Component: Javascript Engine → DOM Level 0
Ever confirmed: true
QA Contact: pschwartau → amar
I do not crash on WinNT, only on Linux. Will attach stack trace.
Attached file Linux stack trace of crash (obsolete) —
Comment on attachment 53497 [details]
Linux stack trace of crash

Wrong attachment; sorry
Attachment #53497 - Attachment is obsolete: true
Based on the stack trace, I would like to send this to Embedding:Docshell
for further analysis - 
Assignee: jst → adamlock
Component: DOM Level 0 → Embedding: Docshell
QA Contact: amar → adamlock
Here is the HTML for a "magnifying glass" link at the site:

<a href="javascript:;" 
   onClick="JustSoPicWindow('images/pitchers_all_lg.jpg','382','175',
           '* * Click screen to close * *','#FFFFFF','hug image','5');
           return document.MM_returnValue">

<img src="../graphics/icon_details.gif" 
     width="22" height="39" align="absmiddle" border="0">

</a>


That looks pretty goofy to me: the href="javascript:;" together with
a JS function on the onClick() event...
The javascript:; thingy looks familiar to some problems we were once had with
other javascript: URLs e.g., "javascript:2+2" I'll see if I can find the
original bug to see if it sheds light on this issue.
-> 0.9.7

Never found that previous JS problem.
Target Milestone: --- → mozilla0.9.7
-> 1.0.1
Target Milestone: mozilla0.9.7 → mozilla1.0.1
I'm using mozilla 1.0 on linux.
I point the browser to url logosol.com.
Website asks me to get java plugin.
I installed sun's jre/java plugin.
Now when I point mozilla to logosol.com the browser crashes.
If I remove libjavaplugin_oji140.so from /usr/local/mozilla/plugins 
and restart mozilla I can once again go to site logosol.com without 
browser crashing.
I think that on Linux it is essential in /usr/local/mozilla/plugins
to have a SYMLINK to libjavaplugin_oji140.so, not the file itself -

See http://bugzilla.mozilla.org/show_bug.cgi?id=133795#c51
Changing target milestone to 'Future' since 'mozilla1.0.1' came and went already.
Target Milestone: mozilla1.0.1 → Future
This is a rather old bug. Reporter (Rob Lowrie), does this problem exist with a
newer build?
Severity: normal → critical
Keywords: crash, pp
Javascript href / onclick has recently changed. A recent Linux trunk build WFM
so I am marking such.

Please reopen if the problem can be reproduced. BTW I'm referring to the problem
that the bug was opened for, not the logosol.com thing at the bottom which
should live in its own bug.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: