Closed
Bug 1005488
Opened 11 years ago
Closed 11 years ago
deprecate content/content ?
Categories
(Add-on SDK Graveyard :: General, defect, P2)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zombie, Assigned: jsantell)
References
Details
Attachments
(3 files)
i think those were meant to be deprecated along with Widget, the only module that still uses them..
Reporter | ||
Comment 1•11 years ago
|
||
ok, Symbiont was moved to deprecated/symbiont, but the docs were not updated:
https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/content_symbiont
Summary: deprecate content/content and content/symbiont maybe? → deprecate content/content ?
Assignee | ||
Comment 2•11 years ago
|
||
Looks like sdk/content/content is just a meta file, and only being used by Widget. Let's get rid of this.
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
And looks like content/content and content/symbiont should just be removed from docs all together
Reporter | ||
Comment 5•11 years ago
|
||
Comment on attachment 8417538 [details] [review]
GH PR 1482
i don't think we can do that straight away. i have done a MXR search for the use of this module, and there seem to be lots of addons that do.
so deprecate?
Attachment #8417538 -
Flags: review?(tomica+amo) → review-
Reporter | ||
Comment 6•11 years ago
|
||
(In reply to Jordan Santell [:jsantell] [@jsantell] from comment #4)
> And looks like content/content and content/symbiont should just be removed
> from docs all together
but this is probably a safe bet..
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 8417538 [details] [review]
GH PR 1482
Just wrapped in deprecation functions for now.. can remove in a few months
Attachment #8417538 -
Flags: review- → review?(tomica+amo)
Priority: -- → P2
Reporter | ||
Updated•11 years ago
|
Attachment #8417538 -
Flags: review?(tomica+amo) → review+
Comment 8•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/84334a788980572071bd5aa9c9f854cf6d2cc972
Bug 1005488 - Deprecate sdk/content/content
https://github.com/mozilla/addon-sdk/commit/b7e143433f0dd2adfec605f70fd1f08e579c71e8
Merge pull request #1482 from jsantell/1005488-remove-content-content
Fix Bug 1005488 - Deprecate sdk/content/content, r=@zombie
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 9•11 years ago
|
||
Did this cause bug 1012467? And if so, was it intended?
Reporter | ||
Comment 10•11 years ago
|
||
this was definitively not intended.
Symbiont is not used as a function, but as an object instead, so this change breaks it (also probably true for Loader).
i though it strange when i couldn't find any use of the deprecateFunction() for our "constructor" objects/functions, but i still missed this.
Jordan, i think a simple __proto__ surgery would work here, or maybe better to define a deprecateObject() ?
and btw, does this mean a test might be warranted?
Status: RESOLVED → REOPENED
Flags: needinfo?(jsantell)
Resolution: FIXED → ---
Assignee | ||
Comment 11•11 years ago
|
||
Definitely a test should be warranted. Symbiont is a weird beast, not sure if just adding the deprecateFunction wrapper around it's proto objects is sufficient, but whatever is the easiest thing to do to alert a deprecation notice, and things still work. Symbiont is brutal.
Flags: needinfo?(jsantell)
Reporter | ||
Comment 12•11 years ago
|
||
didn't want to add a separate test file for the module we are deprecating, so i used test-content-symbiont.
Reporter | ||
Updated•11 years ago
|
Attachment #8430228 -
Flags: review?(jsantell)
Assignee | ||
Comment 13•11 years ago
|
||
Comment on attachment 8430228 [details] [review]
Link to Github pull-request: https://github.com/mozilla/addon-sdk/pull/1500
Quick nit on testing that they are also the expected objects
Attachment #8430228 -
Flags: review?(jsantell) → review+
Assignee | ||
Comment 14•11 years ago
|
||
Disregard the nit, saw you're also requiring the objects directly from outside of sdk/content/content. Looks good!
Assignee | ||
Updated•11 years ago
|
Comment 15•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/e481b06c8ace69d5c901a652749cba11401b038c
bug 1005488 - deprecate content/content
https://github.com/mozilla/addon-sdk/commit/df7224da5a3d3c39b6799d288dd2c8cce59d693b
Merge pull request #1500 from zombie/1005488-deprecate-content
bug 1005488 - deprecate content/content, r=@jsantell
Reporter | ||
Comment 16•11 years ago
|
||
our tests never clean prefs after themselves :(
as a result, success sometimes depends on the execution order, which can differ across platforms..
Attachment #8432096 -
Flags: review?(jsantell)
Comment 17•11 years ago
|
||
Is the updated patch going to be uplifted to Firefox before the next release date?
Reporter | ||
Comment 18•11 years ago
|
||
Christian, we will definitely make sure this doesn't break things, so if we miss the standard trains, we can request Aurora uplift.
Assignee | ||
Comment 19•11 years ago
|
||
Comment on attachment 8432096 [details] [review]
Link to Github pull-request: https://github.com/mozilla/addon-sdk/pull/1503
Ah, looks good, I should've caught this earlier like our other deprecated tests
Attachment #8432096 -
Flags: review?(jsantell) → review+
Comment 20•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/41818f69a55a530a5ee3e43bb1dcf224b8b1a4ce
bug 1005488 - deprecate content/content
our tests never clean prefs after themselves
https://github.com/mozilla/addon-sdk/commit/6daac81f08718cb539e74af0c8c7ee95b7ba49a2
Merge pull request #1503 from zombie/1005488-deprecate-content
bug 1005488 - deprecate content/content, set test pref, r=@jsantell
Assignee | ||
Comment 21•11 years ago
|
||
Resolving
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•