Open
Bug 1379143
Opened 8 years ago
Updated 3 years ago
Get rid of makeURI and makeFileURI
Categories
(Firefox :: General, enhancement, P3)
Firefox
General
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| firefox57 | --- | wontfix |
People
(Reporter: johannh, Unassigned)
References
Details
makeURI (https://searchfox.org/mozilla-central/search?q=makeURI) and its less popular cousin makeFileURI (https://searchfox.org/mozilla-central/search?q=makeFileURI) are, in most cases, unnecessary overhead that is re-declared in a dozen modules despite no clear disadvantage over just using Services.io.newURI (since bug 1329182 landed).
In the case of browser.js specifically, it's hard to find out where the global makeURI function is defined (https://searchfox.org/mozilla-central/source/toolkit/content/contentAreaUtils.js#944).
I vote for getting rid of the overhead.
Unfortunately it seems like we need to wait for 57 to come around to avoid breaking add-ons.
Comment 1•8 years ago
|
||
I would also be happy to see the NetUtil.newURI cousin go away: http://searchfox.org/mozilla-central/search?q=netutil.newuri
Comment 2•8 years ago
|
||
Get this added to the technical debt list, please. Talk to mossop for a pointer.
status-firefox57:
--- → wontfix
Priority: -- → P3
Comment 3•8 years ago
|
||
(In reply to Joe Hildebrand [:hildjj] (UTC-6) from comment #2)
> Get this added to the technical debt list, please. Talk to mossop for a
> pointer.
Flags: needinfo?(dtownsend)
Comment 5•7 years ago
|
||
Please assign this to me
Comment 6•6 years ago
|
||
Hey, Can I work on this issue?
| Reporter | ||
Comment 7•6 years ago
|
||
This isn't really a good bug for a contributor to tackle (it's a lot to rewrite). If you really want to work on this issue, I would recommend filing bugs for replacing usage in individual files like we've done so far or coming up with some sort of automated rewrite. In any case I won't assign anyone to this without a patch :)
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•