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.
I would also be happy to see the NetUtil.newURI cousin go away: http://searchfox.org/mozilla-central/search?q=netutil.newuri
Get this added to the technical debt list, please. Talk to mossop for a pointer.
(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.
You need to log in before you can comment on or make changes to this bug.