Closed Bug 206744 Opened 21 years ago Closed 21 years ago

crash if i try to put the cursor on the image.

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: monqir, Unassigned)

References

()

Details

(Keywords: crash)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.3) Gecko/20030430 Debian/1.3-5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.3) Gecko/20030430 Debian/1.3-5

Is no problem if I use konqueror as a browser

Reproducible: Always

Steps to Reproduce:
1.put the cursor in the midle of the page
2.
3.
I dont crash with 21 May build on Windows 2000.
though the function for the site seems to be messed up. 
Get javascript error:
Error: MM_swapImage is not defined
This is an evangelism issue for Macromedia's Dreamweaver (IIRC).  When you 
mouse over an image, it then sets the content of a "layer" (div for IE/Moz, 
layer for NN4).  However, in the function that sets the content, it doesn't 
distinguish b/t NN4 and Moz (formatted):

function MM_setTextOfLayer(objName,x,newText) { //v3.0
  if ((obj=MM_findObj(objName))!=null)
    with (obj)
      if (navigator.appName=='Netscape') {
        document.write(unescape(newText)); 
        document.close();
      }
      else 
        innerHTML = unescape(newText);
}

So it's document.write'ing, which eliminates the javascript, but the inline 
event code continues to run.  That's why MM_swapImage is unavailable right 
after the document.write.  Earlier versions of Moz may have crashed due to js 
instability, this one just overwrites the whole page.
Since this bug is about a crash and jose reports that it works using a current
nightly build, resolving WFM.

If the evangelism issue mentioned in comment 2 isn't already reported, please
file a separate bug about it.
Severity: normal → critical
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Keywords: crash
Resolution: --- → WORKSFORME
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.