getting an error on missing function HandleEvent while installing extension

RESOLVED FIXED in fennec1.0

Status

Fennec Graveyard
General
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: jmaher, Assigned: vingtetun)

Tracking

Fennec 1.1
fennec1.0
x86
Windows XP

Details

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
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
Created attachment 417907 [details] [diff] [review]
Patch

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 3

8 years ago
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
Last Resolved: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → RC
You need to log in before you can comment on or make changes to this bug.