This project is archived and is in readonly mode.

#693 ✓invalid
Nathan Kleyn

Strange Bug When Any Event Fired

Reported by Nathan Kleyn | June 22nd, 2009 @ 09:04 PM | in 2.0 (closed)

Getting a strange bug on the Firefox 3.6 nightly, thought I might post it here as it could present some problems for MooTools 2 if this does indeed turn out to be a browser hitch as I suspect it to be. Getting this error when any event is fired:

Error: uncaught exception: [Exception... "Cannot convert WrappedNative to function"  nsresult: "0x8057000d (NS_ERROR_XPC_CANT_CONVERT_WN_TO_FUN)"  location: "JS frame :: http://xxx/js/main_mootools_core.js :: anonymous :: line 2028"  data: no]

Seems to point to this line in MooTools Core:

event = new Event(event, self.getWindow());

which is inside the AddEvent method that gets tacked onto Element, Document and Window.

Native.implement([Element, Window, Document], {

Any pointers?

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages