Closed
Bug 806
Opened 26 years ago
Closed 25 years ago
milestone branch reminder -> User agent implementation needs update
Categories
(SeaMonkey :: UI Design, defect, P1)
SeaMonkey
UI Design
Tracking
(Not tracked)
VERIFIED
FIXED
M8
People
(Reporter: kipp, Assigned: leaf)
References
Details
(Whiteboard: [PDT-])
From: cyeh@netscape.com (Christopher Yeh)
As you go about designing Raptor, would you please take a moment and decide
a simple XP way of specifing the version and user agent string? I can't
tell you how painful it is everytime we decide to bump either in the
current 5.0 code base. You have to muck with each FE in a completely
different way.
If there was a single file that was used to config all platforms, that
would be my dream.
Thanks.
Chris Yeh
And rickg things it would be good to modify the user-agent data from our viewers
command line...
Updated•26 years ago
|
Status: NEW → ASSIGNED
bumping up the priority, since we're now doing a raptor based 5.0. this stuff is
important for releasing betas and doing day to day qa.
Summary: version/user-agent config request... → ss:version/user-agent config request...
Summary: ss:version/user-agent config request... → version/user-agent config request...
Re-assigned to kipp@netscape.com.
Kipp, Who should get this bug? It doesn't appear to be an xpapps issue ...
Hubie was working on a XP single file that you use to set all of the
configuration stuff. This falls under that, so re-assigning to hshaw
Updated•26 years ago
|
Status: NEW → ASSIGNED
Updated•26 years ago
|
QA Contact: 3853
Comment 8•26 years ago
|
||
per leger, assigning QA contacts to all open bugs without QA contacts according
to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
Severity: normal → critical
Component: Viewer App → Apprunner
Target Milestone: M4 → M3
Updated•26 years ago
|
Assignee: hshaw → don
Status: ASSIGNED → NEW
Comment 10•26 years ago
|
||
Don already has a bug on this one.
Assignee: don → rpotts
OS: Windows NT → All
Hardware: PC → All
Summary: version/user-agent config request... → User Agent needs to be implemented for all platforms
Target Milestone: M3 → M4
Comment 11•26 years ago
|
||
Re-assigned to rpotts@netscape.com, changed summary, target milestone to M4,
platform and OS to All, and added lots o' folks to the cc list.
Rick, please help me figure out the scope of this feature. I need to know how
long it's going to take to implement and which engineers from what teams would
be best at writing the platform-specific work. Thanks.
Comment 12•26 years ago
|
||
*** Bug 1862 has been marked as a duplicate of this bug. ***
Comment 13•26 years ago
|
||
There currently exists a way to set the user-agent in
one file. It does require a recompile.
This is located in nsNetlibService::nsNetlibService().
To make Chris's life easier it'd be nice if we used
some external file so no recompile is necessary, though
for now, having the ability to set the user-agent in
one place should satisfy Chris's main need.
Comment 14•26 years ago
|
||
The UA is set in nsINetService.cpp, correct? If that's the case, I (or someone on
my team) can go verify that it works alright.
Comment 15•26 years ago
|
||
It is being initialized in:
mozilla/network/module/nsNetService.cpp:nsNetService::nsNetService()
The output looks something like:
Mozilla 5.0 [en] (Win95; I)
I've been informed that this bug has been
assigned to Rick to 'enhance' the contents
of the User-Agent. I do not know the extent
of this and will defer to Rick.
Comment 16•26 years ago
|
||
Changed target milestone to M5.
Comment 17•26 years ago
|
||
Changed milestone to M6.
Comment 18•26 years ago
|
||
*** Bug 6054 has been marked as a duplicate of this bug. ***
Comment 19•26 years ago
|
||
Added myself to CC because of duplicate bug 6054.
I'm not sure what to do with this: if we want to set in at compile-time we can
simply add some LINUX, __FreeBSD__, __NetBSD__ macro's to the current code. If
however we want to extract the value at run-time we need platform specific code.
I can deliver patches for the first choice, and patches for runtime-detection of
the LINUX, FreeBSD and NetBSD versions.
Rick: What's the plan? Macro's for now and structural improvements later on? Let
me know and I might be able to provide some diffs.
Comment 20•26 years ago
|
||
More user agent requirements.
Steve Elmer would like to be able to identify browsers that come from MCD/CCK as
opposed to the ones available from general download. For the 4.0X series browser,
this was done by reading in values from an external netscape.cfg file at browser
initialization time that would tweak and customize the user agent field.
When the user agent gets implemented, some on-the-fly override/customization of
the user agent has to be possible. This should be in an external file so to
minimize recompiles.
Don Melton tells me the user agent won't be implemented in apprunnner until M8
(dependent on Necko) and that the apprunner initialization code that reads
external preferences files won't be ready until M10 or so.
Comment 21•26 years ago
|
||
In addition to the "append" user agent string mechanism using the netscape.cfg
and preferences (described above by cyeh), we also need to have a tag in the
string that identifies the _Netscape_ distribution channel as MCD/CCK and isn't
modifiable once the bits are in the can. I don't yet know if MCD and CCK need
separate tags or if a single tag will work for both.
So, there's a tag we need that's burned into the bits and another we need that
can be modified at run time using the prefs. (I believe this is the same
requirement we had in 4.5.)
Comment 22•26 years ago
|
||
In addition to the "append" user agent string mechanism using the netscape.cfg
and preferences (described above by cyeh), we also need to have a tag in the
string that identifies the _Netscape_ distribution channel as MCD/CCK and isn't
modifiable once the bits are in the can. I don't yet know if MCD and CCK need
separate tags or if a single tag will work for both.
So, there's a tag we need that's burned into the bits and another we need that
can be modified at run time using the prefs. (I believe this is the same
requirement we had in 4.5.)
Comment 23•26 years ago
|
||
OK, I had a misconception. It appears that both kinds of tagging are driven by
the same pref in 4.5. If the pref exists, then the user agent string gets the
"C-" stuff inserted and then the value of the pref gets added as well.
Comment 24•26 years ago
|
||
*** Bug 6117 has been marked as a duplicate of this bug. ***
Comment 25•26 years ago
|
||
Re-assigning to me for M10 (although we may get it done for M9).
Severity: critical → normal
Component: Build Config → XPApps
Summary: User Agent needs to be implemented for all platforms → [FEATURE] User agent implementation
Target Milestone: M10 → M8
Comment 26•25 years ago
|
||
Moved to M8.
Comment 27•25 years ago
|
||
Resolved as FIXED since the other bugs are resolved.
Comment 28•25 years ago
|
||
on Milestone 14, naviator.userAgent returns this:
Mozilla/5.0 ([os-dependen information]) Mozilla/m13
imho, it should be ....Mozilla/m14
You can see this effect under Help->About
Comment 29•25 years ago
|
||
over to leaf. putting on check list of things that need to be done
on the milestone branches from here on out...
Comment 30•25 years ago
|
||
changing the title
Assignee: don → leaf
Status: REOPENED → NEW
Summary: [FEATURE] User agent implementation → milestone branch reminder -> User agent implementation needs update
Comment 31•25 years ago
|
||
We really should not have recycled this bug from a [FEATURE] to a build
problem...
Comment 34•25 years ago
|
||
alright, this is something that gets handled each milestone. closing bug.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•