Most code that has to create URIs ends up storing the IOService itself and creating the URI. We can do better by storing it in NetUtil, and adding a new method: newURI(aSpec, aCharset, aBaseURI) The signature is identical to nsIOService::newURI, but callers could not specify null for aCharset and aBaseURI like they currently have to.
Whiteboard: [needs review bz][needs sr bsmedberg]
Comment on attachment 397662 [details] [diff] [review] v1.0 r=bzbarsky
Attachment #397662 - Flags: review?(bzbarsky) → review+
Whiteboard: [needs review bz][needs sr bsmedberg] → [needs sr bsmedberg]
Attachment #397662 - Flags: superreview?(benjamin) → superreview+
Whiteboard: [needs sr bsmedberg] → [can land]
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Whiteboard: [can land]
Target Milestone: --- → mozilla1.9.3a1
Is there any plan to bring this to 1.9.2? Trying to plan docs for NetUtil.jsm.
(In reply to comment #4) > Is there any plan to bring this to 1.9.2? Trying to plan docs for NetUtil.jsm. The change would be trivial. It's only additive so we could ask for approval. It'd need the minor fix I added in http://hg.mozilla.org/mozilla-central/rev/ec44dfe85a0d too.
(In reply to comment #5) > It'd need the minor fix I added in > http://hg.mozilla.org/mozilla-central/rev/ec44dfe85a0d too. Er, this is for a different bug! However, this likely won't be added to 1.9.2 since it'd require backporting a few other bugs too (see dependency tree).
OK, good to know this won't come to 1.9.2. I'll watch for this in 1.9.3.
Whiteboard: [doc-waiting-info] → [doc-waiting-1.9.3]
Did. Nothing stupid, I tweaked the formatting slightly in a couple places. Thanks!
Comment on attachment 397662 [details] [diff] [review] v1.0 rob tells me this fixes a bug on 1.9.2 with the aero peek stuff. He'll add the bug to the dependency chain. This is a strictly additive API addition that would be a nice to have for 1.9.2. It has tests!
Attachment #397662 - Flags: approval1.9.2?
Comment on attachment 397662 [details] [diff] [review] v1.0 a192=beltzner
Attachment #397662 - Flags: approval1.9.2? → approval1.9.2+
Pushed to mozilla-1.9.2: http://hg.mozilla.org/releases/mozilla-1.9.2/rev/ee2d16185a71 Setting dev-doc-needed since this is now available on 1.9.2 (sorry for doing this again Sheppy!)
Better this than me finding out after we ship it. Thanks!
The docs already said it was available in 1.9.2, so we're good to go :)
You need to log in before you can comment on or make changes to this bug.