Closed
Bug 254405
Opened 21 years ago
Closed 20 years ago
javascript method gets called twice for no good reason
Categories
(Camino Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
WORKSFORME
People
(Reporter: jon, Assigned: mikepinkerton)
Details
(Keywords: regression)
Attachments
(1 file)
309 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a3) Gecko/20040802 Camino/0.8+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a3) Gecko/20040802 Camino/0.8+
create a test.html...put this in it...load it in camino, click the box. i see
the alert box 2x. why?
<script type="text/javascript" language="JavaScript">
function checkYourself()
{
alert(document.forms['foo'].p.value);
}
</script>
<form name="foo">
<input onchange="checkYourself()" type="checkbox" name="p" value="1" />
</form>
Reproducible: Always
Steps to Reproduce:
Expected Results:
only one time should the box appear
Comment 1•21 years ago
|
||
Jon could you attach such a HTML page to this bug so everyone can test it ?
Do you have the same problem with Mozilla the suite or with FireFox ?
Reporter | ||
Comment 2•21 years ago
|
||
definitely happens in latest nightly of camino
does not happen in latest releases of firefox or mozilla (on osx)
does not even show a dialog in Safari 1.2.2! =(
Reporter | ||
Comment 3•21 years ago
|
||
small html file to illustrate the problem. click the checkbox.
Updated•21 years ago
|
Attachment #155718 -
Attachment mime type: text/plain → text/html
Comment 4•21 years ago
|
||
Doesn't do the double trick with 2004061708 (v0.8b+)
Does it with build of July 19th (my on build).
Marking new.
Comment 5•20 years ago
|
||
Confirmed with Camino 2004101808.
WFM using 2005020308 NB.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•