Closed
Bug 916235
Opened 11 years ago
Closed 8 years ago
Remove obsolete (and now unused) strres.js from the tree
Categories
(Toolkit Graveyard :: Build Config, defect)
Toolkit Graveyard
Build Config
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1312143
Future
People
(Reporter: sgautherie, Unassigned, Mentored)
References
(Depends on 1 open bug, )
Details
(Keywords: addon-compat, Whiteboard: [Blocked by bug 917024 part to be done first] [good first bug][language=none])
Attachments
(1 file)
1.87 KB,
patch
|
mossop
:
review+
sgautherie
:
feedback+
|
Details | Diff | Splinter Review |
1) Remove the following line, to stop packaging strres.js.
/mozilla/toolkit/obsolete/jar.mn
* line 12 -- + content/global/strres.js (content/strres.js)
2) Remove actual strres.js file in Hg.
http://mxr.mozilla.org/comm-central/source/mozilla/toolkit/obsolete/content/strres.js
![]() |
||
Comment 1•11 years ago
|
||
Not really sure who should review this, so please redirect as necessary...
Attachment #804992 -
Flags: review?(dtownsend+bugmail)
Reporter | ||
Updated•11 years ago
|
Attachment #804992 -
Flags: feedback+
Comment 2•11 years ago
|
||
I see quite a surprising number of add-ons making use of this script including some recent ones. There isn't a lot to be gained by removing this except for general cleanup wins so that doesn't seem worth it if we're going to break add-ons needlessly. Jorge what do you think? Would you rather we kept this around for now?
Flags: needinfo?(jorge)
Reporter | ||
Comment 3•11 years ago
|
||
Fwiw, I would expect files that live in /toolkit/obsolete/ to have been deprecated (a long time ago), so removing them now should be a matter of announcing it officially.
If that's not the case, maybe it's time to start planning for that.
Comment 4•11 years ago
|
||
Wow, that's a lot of add-ons using this, and just for a little shortcut...
(In reply to Serge Gautherie (:sgautherie) from comment #3)
> Fwiw, I would expect files that live in /toolkit/obsolete/ to have been
> deprecated (a long time ago), so removing them now should be a matter of
> announcing it officially.
Well, all add-on uses I see just load chrome://global/content/strres.js, so they don't know that the file is being loaded from an "obsolete" path.
I think that given the wide usage of this script, we should begin by adding a warning in the console for whenever this file is loaded. We should leave that in for a couple of releases and then finish this. If this is too much work for this file, we might as well leave it be and save us the compatibility problem.
Flags: needinfo?(jorge)
Keywords: addon-compat
Comment 5•11 years ago
|
||
(In reply to Jorge Villalobos [:jorgev] from comment #4)
> (In reply to Serge Gautherie (:sgautherie) from comment #3)
> > Fwiw, I would expect files that live in /toolkit/obsolete/ to have been
> > deprecated (a long time ago), so removing them now should be a matter of
> > announcing it officially.
>
> Well, all add-on uses I see just load chrome://global/content/strres.js, so
> they don't know that the file is being loaded from an "obsolete" path.
>
> I think that given the wide usage of this script, we should begin by adding
> a warning in the console for whenever this file is loaded. We should leave
> that in for a couple of releases and then finish this. If this is too much
> work for this file, we might as well leave it be and save us the
> compatibility problem.
We should probably do this for all the files in the obsolete path, some of which are unfortunately still in use in the tree. I filed bug 917024 so before we could take this patch we would have to resolve that and let it sit in the tree for a few releases.
Depends on: 917024
Reporter | ||
Comment 6•11 years ago
|
||
(In reply to Dave Townsend (:Mossop) from comment #5)
> I filed bug 917024 so
> before we could take this patch we would have to resolve that and let it sit
> in the tree for a few releases.
Adding a warning now (there) then removing the file (here) a bit later is fine wrt this bug :-)
Assignee: nobody → cykesiopka.bmo
Status: NEW → ASSIGNED
Comment 7•11 years ago
|
||
Comment on attachment 804992 [details] [diff] [review]
bug916235_v1.patch
The code changes here are good but we can't land them till the other work is done.
Attachment #804992 -
Flags: review?(dtownsend+bugmail) → review+
Reporter | ||
Updated•11 years ago
|
Whiteboard: [good first bug][mentor=sgautherie][language=none] → [Blocked by bug 917024 part to be done first] [good first bug][mentor=sgautherie][language=none]
Target Milestone: --- → Future
Assignee | ||
Updated•11 years ago
|
Mentor: bugzillamozillaorg_serge_20140323
Whiteboard: [Blocked by bug 917024 part to be done first] [good first bug][mentor=sgautherie][language=none] → [Blocked by bug 917024 part to be done first] [good first bug][language=none]
![]() |
||
Comment 8•9 years ago
|
||
Unassigning myself because I don't think I'll have the time to push the prerequisite Bug 917024 to completion, since my focus is currently in other areas of code.
Assignee: cykesiopka.bmo → nobody
Status: ASSIGNED → NEW
![]() |
||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•