Error: The Components object is deprecated. It will soon be removed.

RESOLVED WORKSFORME

Status

Add-on SDK
General
P1
normal
RESOLVED WORKSFORME
5 years ago
3 years ago

People

(Reporter: alex_mayorga, Assigned: mossop)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
On Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:19.0) Gecko/19.0 Firefox/19.0 ID:20121010030605 many of these errors appear in "Error Console" when using Dietrich Ayala's Wallflower[1]:

Error: The Components object is deprecated. It will soon be removed.
Source File: resource://jid1-ub4sjepvr2m4qq-at-jetpack/api-utils/lib/loader.js -> resource://jid1-ub4sjepvr2m4qq-at-jetpack/api-utils/lib/sandbox.js -> resource://jid1-ub4sjepvr2m4qq-at-jetpack/api-utils/lib/content/content-proxy.js
Line: 13

Filing this bug per KWierso's request on mozillaZine[2].

1| https://addons.mozilla.org/en-US/firefox/addon/wallflower-1
2| http://forums.mozillazine.org/viewtopic.php?p=12355853#p12355853

Updated

5 years ago
Assignee: nobody → dtownsend+bugmail
Priority: -- → P1
(Assignee)

Comment 1

5 years ago
This is actually a warning from the platform that we're using Components in a place where it might not exist in the future.
Blocks: 795275
(Assignee)

Comment 2

5 years ago
Ok I was confused by another add-on in my profile. This is just a bug in the content-proxy code that is no longer used if the SDK version and Firefox version are new enough. So we should be good here, Wallflower just needs to be repacked.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Depends on: 786976
Resolution: --- → WORKSFORME
(Reporter)

Comment 3

5 years ago
Please pardon the ignorance, but what's a user to do to get an add-on "repacked"?
(Assignee)

Comment 4

5 years ago
(In reply to alex_mayorga from comment #3)
> Please pardon the ignorance, but what's a user to do to get an add-on
> "repacked"?

Until we roll out auto-repacking you have to bug the add-on developer. As it stands this warning is just that, a warning that something will break in the future.
Already repacked and waiting for review. https://addons.mozilla.org/en-US/firefox/addon/wallflower-1/versions/
You need to log in before you can comment on or make changes to this bug.