Closed
Bug 532146
Opened 16 years ago
Closed 16 years ago
NetUtil.jsm needs a helper for creating new channels
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a1
People
(Reporter: dietrich, Assigned: sdwilsh)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 3 obsolete files)
|
6.26 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
| Reporter | ||
Updated•16 years ago
|
Assignee: nobody → sdwilsh
| Assignee | ||
Comment 1•16 years ago
|
||
This should take a string uri, an nsIURI, or an nsIFile, right?
| Reporter | ||
Comment 2•16 years ago
|
||
Yes.
Comment 3•16 years ago
|
||
What's wrong with NS_NewChannel in nsNetUtil.h? Are you asking for a JS or C++ interface here?
| Assignee | ||
Comment 4•16 years ago
|
||
(In reply to comment #3)
> What's wrong with NS_NewChannel in nsNetUtil.h? Are you asking for a JS or C++
> interface here?
NetUtil.jsm is for JavaScript. C++ has all sorts of nice helpers, but JavaScript isn't so lucky. I've been slowly fixing this.
| Assignee | ||
Comment 5•16 years ago
|
||
Attachment #415506 -
Flags: superreview?(vladimir)
Attachment #415506 -
Flags: review?(bzbarsky)
| Assignee | ||
Updated•16 years ago
|
Whiteboard: [needs review asuth][needs sr vlad]
| Assignee | ||
Updated•16 years ago
|
Whiteboard: [needs review asuth][needs sr vlad] → [needs review bz][needs sr vlad]
Comment 6•16 years ago
|
||
Comment on attachment 415506 [details] [diff] [review]
v1.0
Maybe s/aSpecifier/aURISpec/ and be done with it?
Attachment #415506 -
Flags: review?(bzbarsky) → review+
| Assignee | ||
Comment 7•16 years ago
|
||
(In reply to comment #6)
> (From update of attachment 415506 [details] [diff] [review])
> Maybe s/aSpecifier/aURISpec/ and be done with it?
That doesn't describe an nsIFile though, right?
| Assignee | ||
Updated•16 years ago
|
Whiteboard: [needs review bz][needs sr vlad] → [needs sr vlad]
Comment 8•16 years ago
|
||
It describes it at least as well as aSpecifier does. My other thoughts had been along the lines of aTarget or aThingieToLoad....
Comment 9•16 years ago
|
||
aWhatToLoad?
| Assignee | ||
Comment 10•16 years ago
|
||
(In reply to comment #9)
> aWhatToLoad?
Sold.
| Assignee | ||
Updated•16 years ago
|
Summary: NetUtil needs a helper for creating new channels → NetUtil.jsm needs a helper for creating new channels
| Assignee | ||
Comment 11•16 years ago
|
||
Name change plus an additional test I should have had in the first place.
Attachment #415506 -
Attachment is obsolete: true
Attachment #415511 -
Flags: superreview?(vladimir)
Attachment #415506 -
Flags: superreview?(vladimir)
Attachment #415511 -
Flags: superreview?(vladimir) → superreview+
| Assignee | ||
Updated•16 years ago
|
Whiteboard: [needs sr vlad]
| Assignee | ||
Comment 12•16 years ago
|
||
For checkin (with commit message)
Attachment #415511 -
Attachment is obsolete: true
| Assignee | ||
Updated•16 years ago
|
Flags: in-testsuite+
Keywords: checkin-needed
Whiteboard: [can land]
Target Milestone: --- → mozilla1.9.3a1
| Assignee | ||
Updated•16 years ago
|
Keywords: dev-doc-needed
| Reporter | ||
Comment 13•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [can land]
| Reporter | ||
Comment 14•16 years ago
|
||
backed out due to test failure
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 15•16 years ago
|
||
This should fix the test issues.
Attachment #415674 -
Attachment is obsolete: true
| Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
| Assignee | ||
Comment 16•16 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Comment 17•16 years ago
|
||
Updated the docs here:
https://developer.mozilla.org/en/JavaScript_code_modules/NetUtil.jsm
Keywords: dev-doc-needed → dev-doc-complete
| Assignee | ||
Comment 18•16 years ago
|
||
(In reply to comment #17)
> Updated the docs here:
>
> https://developer.mozilla.org/en/JavaScript_code_modules/NetUtil.jsm
There seems to be a wiki error in the section that would cover this.
Comment 19•16 years ago
|
||
Oops. Fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•