Closed
Bug 839695
Opened 12 years ago
Closed 12 years ago
(context-menu) error during test: "The Components object is deprecated."
Categories
(Add-on SDK Graveyard :: General, defect, P2)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: evold, Assigned: mossop)
References
Details
Attachments
(1 file)
When I run `cfx test -f context` I see the following message twice:
info: addon-sdk: [JavaScript Error: "The Components object is deprecated. It will soon be removed." {file: "javascript:self.on("click", function (node, data) { let Ci = Components["interfaces"]; self.postMessage({ tagName: node.tagName, data: data });});" line: 1}]
there seems to be a `let Ci = Components["interfaces"];` line that is unused in the context-menu tests that is causing this.
Assignee | ||
Comment 1•12 years ago
|
||
I never really figured out what that was doing there, it's been in the tests for a long time. I assumed it was testing that the content script could use the Components object for some reason but I didn't dig much further.
Assignee: nobody → dtownsend+bugmail
Flags: needinfo?(dtownsend+bugmail)
Priority: -- → P2
Assignee | ||
Comment 2•12 years ago
|
||
These lines should have been removed as a part of bug 732716
Flags: needinfo?(dtownsend+bugmail)
Assignee | ||
Comment 3•12 years ago
|
||
Pointer to Github pull-request
Assignee | ||
Updated•12 years ago
|
Attachment #714093 -
Flags: review?(evold)
Comment 4•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/75b55a06d6bdba138f253a87fca6005f1ef31b97
Bug 839695: Remove deprecated Components usage left over from bug 732716.
https://github.com/mozilla/addon-sdk/commit/1afc3d73c6e20dc88e9aba91c6ff499d4fcf69ad
Merge pull request #791 from Mossop/bug839695
Fix Bug 839695: Remove deprecated Components usage left over from bug 732716 r=@erikvold
Reporter | ||
Updated•12 years ago
|
Attachment #714093 -
Flags: review?(evold) → review+
Reporter | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 5•12 years ago
|
||
Commits pushed to stabilization at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/75b55a06d6bdba138f253a87fca6005f1ef31b97
Bug 839695: Remove deprecated Components usage left over from bug 732716.
https://github.com/mozilla/addon-sdk/commit/1afc3d73c6e20dc88e9aba91c6ff499d4fcf69ad
Merge pull request #791 from Mossop/bug839695
You need to log in
before you can comment on or make changes to this bug.
Description
•