Closed
Bug 220220
Opened 22 years ago
Closed 22 years ago
make UA string depend on config/milestone.txt
Categories
(Core :: Networking: HTTP, defect)
Core
Networking: HTTP
Tracking
()
RESOLVED
FIXED
People
(Reporter: dbaron, Assigned: dbaron)
Details
(Whiteboard: [patch])
Attachments
(1 file, 1 obsolete file)
|
18.72 KB,
patch
|
darin.moz
:
review+
bryner
:
superreview+
|
Details | Diff | Splinter Review |
Making the UA string depend on config/milestone.txt will make it easier to bump
the version number, especially now that we have to change all.js for all the
various apps.
I prefer the idea of hard-coding the version in HTTP over having a pref,
although we could have an additional pref file. I prefer hard-coding since I'd
rather the UA-string version not be an API that it looks like embedders
can/should change (or forget to change!).
| Assignee | ||
Comment 1•22 years ago
|
||
This hardcodes the UA string version using the MOZILLA_VERSION macro and
removes checking the general.useragent.misc pref but leaves the GetMisc /
SetMisc API on nsIHttpProtocolHandler.
It also fixes a variable-shadowing warning in nsHttpHandler.cpp.
| Assignee | ||
Updated•22 years ago
|
Whiteboard: [patch]
| Assignee | ||
Updated•22 years ago
|
Attachment #132100 -
Flags: review?(darin)
| Assignee | ||
Comment 2•22 years ago
|
||
The MAPI code looks unused, so I removed it, but it wouldn't be too hard to fix
(and make it always use the Mozilla version, although who knows what it was
intended to be used for if it's unused).
Attachment #132100 -
Attachment is obsolete: true
| Assignee | ||
Updated•22 years ago
|
Attachment #132101 -
Flags: review?(darin)
| Assignee | ||
Updated•22 years ago
|
Attachment #132100 -
Flags: review?(darin)
Updated•22 years ago
|
Attachment #132101 -
Flags: review?(darin) → review+
| Assignee | ||
Updated•22 years ago
|
Attachment #132101 -
Flags: superreview?(bryner)
Updated•22 years ago
|
Attachment #132101 -
Flags: superreview?(bryner) → superreview+
| Assignee | ||
Comment 3•22 years ago
|
||
Fix checked in to trunk, 2003-09-24 22:39 -0700.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•