Closed
Bug 101562
Opened 23 years ago
Closed 23 years ago
Misues of necko & nsIURI to create string bundles
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla0.9.5
People
(Reporter: alecf, Assigned: alecf)
Details
Attachments
(1 file)
(deleted),
patch
|
harishd
:
review+
attinasi
:
superreview+
|
Details | Diff | Splinter Review |
jonsmirl found a really ugly use of necko just to create a string bundle. I've
found another one with LXR:
http://lxr.mozilla.org/seamonkey/search?string=apropfilename
the two bad uses are in htmlparser and in nsFormControlHelper. I'll attach
patches shortly.
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
cc'ing attinasi (Layout), harishd (parser) and rods (HTML Form controls) for
reviews.
This stuff is pretty straight forward....can I get an r= and sr=? This is the
start of fixing some odd dependencies.
Assignee | ||
Updated•23 years ago
|
Assignee | ||
Comment 4•23 years ago
|
||
aPropFileName is just the string that gets passed in.. in the previous code,
we'd take that string (aPropFileName), convert it to a URI object, and then
convert it back to a string (spec). From the looks of it, someone wrote this
broken code ages ago and the pattern got copied all over the place.
Comment on attachment 50709 [details] [diff] [review]
clean up necko stuff and fix APIs to avoid excess conversions
r=harishd
Attachment #50709 -
Flags: review+
Comment 6•23 years ago
|
||
Comment on attachment 50709 [details] [diff] [review]
clean up necko stuff and fix APIs to avoid excess conversions
sr=attinasi
Attachment #50709 -
Flags: superreview+
Assignee | ||
Comment 7•23 years ago
|
||
thanks guys, fix is in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•