Closed Bug 115090 Opened 23 years ago Closed 22 years ago

Composer crashes when inserting HTML for a java web counter.

Categories

(SeaMonkey :: Composer, defect)

x86
All
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED WORKSFORME
mozilla1.2beta

People

(Reporter: TucsonTester1, Assigned: mozeditor)

Details

(Keywords: crash, Whiteboard: EDITORBASE-; help wanted)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.6+)
Gecko/20011210 Netscape6/6.2.1+
BuildID:    2001121003

I was trying to create a sample web page, including a web counter.  I found a
site with a free counter - counterbot.com - that provides the code for the counter.

Reproducible: Always

Steps to Reproduce:
1. Go to counterbot.com, click on "Get a Counter!" fill out information.  When
the code appears, select all text, then edit->copy. (Or copy code at the bottom
of this report)
2. In composer, click Insert->HTML.
3. Press Ctrl+V keys to paste code in window, click "Insert"

Actual Results:  After pressing insert, the program freezes and stops
responding.  Another window appears, with the title bar saying "Java Plug-In
Exception Dialog" and the rest of the window is blank.

Expected Results:  I would expect the counter to appear with no problems.

This is the code provited:

<!-- Start counter.bloke.com --><table border=4><tr><td><applet
CODEBASE="http://www3.counter.bloke.com/c/"CODE="Counter.class" WIDTH=75
HEIGHT=20><param name=URL value="http://hometown.aol.com/agentdopeness"><param
name=reset value="0"><param name=img
value="/c/default-black-green.gif"></applet></td></tr></table><font face=arial
size=1>Powered by <aTARGET="_top"
href=http://counter.bloke.com/>counter.bloke.com</a></font><br><!-- End
counter.bloke.com -->

Note: This problem also occurrs if you paste directly into the HTML view.
Keywords: crash
I crash as well. I took the HTML and stuffed it into a web page on my disk, and
it executes fine when that page is loaded, so it isn't the counter itself that
is crashing us. 
Assignee: syd → jfrancis
Whiteboard: EDITORBASE
confirming based on syd's comments
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: EDITORBASE → EDITORBASE; help wanted
plussing
Whiteboard: EDITORBASE; help wanted → EDITORBASE+; help wanted
Target Milestone: --- → mozilla1.0
Marking nsbeta1+
Keywords: nsbeta1+
Crashes on linux too.
We're crashing in the Java plugin, not in mozilla code, and we don't even get a
core file to get a stack trace.

The last thing that's printed is:
--
For application/x-java-vm found plugin
/u/builds/newfind/mozilla/dist/bin/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so
INTERNAL ERROR on Browser End: Write failed. sendrequest 

System error?:: Broken pipe
--
and then it crashes without a core.

Do we really need to be able to insert Java in the editor?  Do we support that?
 If so, we need help from someone experienced with OJI to tell us why this isn't
working in the editor and how to debug a crash in code for which don't have the
source.
OS: Windows 2000 → All
Clearing EDITORBASE+ and nsbeta1+ for re-consideration.
Keywords: nsbeta1+nsbeta1
Whiteboard: EDITORBASE+; help wanted → EDITORBASE; help wanted
Bulk moving all nsbeta1 nominations to Moz1.1.  If the nomination is approved it
will be marked nsbeta1+ and moved to the Mozilla1.0 milestone.
Target Milestone: mozilla1.0 → mozilla1.1
Aren't plugins like Java supposed to be disabled in composer?
nsbeta1-
Keywords: nsbeta1nsbeta1-
EDITORBASE- based on nsbeta1-, and it was retargeted to moz1.1 -- seems like
this is not viewed as important for the general composer user, and I agree.
Whiteboard: EDITORBASE; help wanted → EDITORBASE-; help wanted
The days of having a half dozen milestones out in front of us to divide bugs 
between seem to be gone, though I dont know why.  Lumping everything together as 
far out as I can.  I'll pull back things that I am working on as I go.
Target Milestone: mozilla1.1alpha → mozilla1.2beta
WFM with Win2K 20020808 build...

Sujay, could you please verify and mark it WFM if it also works for you ? Thanks.
WFM
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
verified.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.