document.onclick firing twice

When you define a document.onclick before the page has loaded completely and you use the Netscape 4-required captureEvents method, Mozilla fires the event handler twice on every click. This is apparently a very old bug.

Test page. Workaround is not included.
Reported by Matthieu Haller.

Mozilla | Reported on 28 October 2004.

This site is no longer maintained. I’m sorry, but it’s just too much work for too little return. You can continue to browse old bug reports, though.




Search reports by browser:

Atom RSS

Comments

(Add your own)

1 Posted by Martin Ng on 12 October 2006 | Permalink

Use of captureEvents() is deprecated, see bug 330494:
https://bugzilla.mozilla.org/show_bug.cgi?id=330494