Closed Bug 1069824 Opened 10 years ago Closed 7 years ago

Error: TypeError: can't convert undefined to object in sdk/deprecated/events.js and /sdk/timers.js (in SeaMonkey)

Categories

(Add-on SDK Graveyard :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: philip.chee, Unassigned)

References

Details

I noticed these errors while investigating Bug 1060858:

Fri Sep 19 2014 15:38:49
Error: TypeError: can't convert undefined to object
Source file: resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Documents%20and%20Settings/philip/Application%20Data/Mozilla/Profiles/TestSR22/extensions/firefox@ghostery.com.xpi!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/deprecated/events.js
Line: 147

Fri Sep 19 2014 16:24:11
Error: TypeError: can't convert undefined to object
Source file: resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Documents%20and%20Settings/philip/Application%20Data/Mozilla/Profiles/TestSR22/extensions/firefox@ghostery.com.xpi!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/timers.js
Line: 43
this is only in SeaMonkey, right?

also, can you provide more info? code/event that triggers it?
Summary: Error: TypeError: can't convert undefined to object in sdk/deprecated/events.js and /sdk/timers.js → Error: TypeError: can't convert undefined to object in sdk/deprecated/events.js and /sdk/timers.js (in SeaMonkey)
(In reply to Tomislav Jovanovic [:zombie] from comment #1)
> this is only in SeaMonkey, right?
No idea. Sorry.

> also, can you provide more info? code/event that triggers it?
1. Install Ghostery 5.4.0.
2. See errors in the (Toolkit) Error Console. We don't have Browser or Web Consoles.

To get Ghostery 5.4.0 to even install in SeaMonkey you need to add the following stanza to the install.rdf (see the install.rdf in Ghostery 5.3.0beta1):

<!-- SeaMonkey -->
<em:targetApplication>
  <Description>
    <em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</em:id>
    <em:minVersion>2.0</em:minVersion>
    <em:maxVersion>2.99</em:maxVersion>
  </Description>
</em:targetApplication>

Once installed you need to apply the fixes in Bug 1060858 Comment 10 to get Ghostery to work.
Once Ghostery starts these errors appear.
Priority: -- → P2
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.