Closed Bug 522257 Opened 10 years ago Closed 10 years ago

getting an error on missing function HandleEvent while installing extension

Categories

(Firefox for Android Graveyard :: General, defect)

Fennec 1.1
x86
Windows XP
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
fennec1.0

People

(Reporter: jmaher, Assigned: vingtetun)

Details

Attachments

(1 file)

I am trying to install an extension and I see this in the jsconsole after turning on extension.logging in the about:config.

Exception..."'JavaScript component does not have a method named: "handleEvent"' when calling method EventListener::handleEvent]" nsresult: "0x80570030 ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)" location: "<unknown>" data:no]

The link to the .xpi is:
http://cloud.github.com/downloads/happyhans/actionlogger/actionlogger.xpi
Attached patch PatchSplinter Review
That is the handleEvent error we often seen after a dialog has been opened. The reason here is that we never remove the unload handler.
Attachment #417907 - Flags: review?(mark.finkle)
Comment on attachment 417907 [details] [diff] [review]
Patch

good catch !
Attachment #417907 - Flags: review?(fabrice.desre) → review+
Attachment #417907 - Flags: review?(mark.finkle) → review+
pushed:
https://hg.mozilla.org/mobile-browser/rev/ba670817e7de
Assignee: nobody → 21
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → RC
You need to log in before you can comment on or make changes to this bug.