Closed
Bug 275413
Opened 20 years ago
Closed 20 years ago
onchange event handler gets called twice
Categories
(Core :: DOM: Events, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 254238
People
(Reporter: db48x, Unassigned)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
|
13.22 KB,
text/plain
|
Details |
This page works fine in FF 1.0, but not in recent Mozilla or FF trunk builds. Using Venkman, I noticed that the event handler is being called twice. I could expect that to happen if the code modified the state of the checkbox, but in this case it doesn't.
Comment 1•20 years ago
|
||
This is unlikely to be a JavaScript Engine bug. Why did you assign it that way? Bouncing to DOM events. /be
Assignee: general → general
Component: JavaScript Engine → DOM: Events
QA Contact: pschwartau → ian
Comment 2•20 years ago
|
||
Most likely the same underlying problem as in bug 254238. Please make a small testcase and attach it here in case the page changes...
Depends on: 254238
| Reporter | ||
Comment 3•20 years ago
|
||
I notice that in frame 12, aFlags is 1 the first time and 513 the second, so the second call is for the system load group (as PresShell::HandleEventInternal says). I didn't look look too much further, so I don't know why the second call to HandleDOMEvent also called the event handler. I probably ought to make a reduced testcase as well.
| Reporter | ||
Updated•20 years ago
|
| Reporter | ||
Comment 4•20 years ago
|
||
Thought I'd dup'd this already. Anyway, the patch in the other bug fixes it. *** This bug has been marked as a duplicate of 254238 ***
You need to log in
before you can comment on or make changes to this bug.
Description
•