Closed Bug 474296 Opened 16 years ago Closed 15 years ago

Remove UA define of "WinNT3.51" and "WinNT4.0" due to out of support

Categories

(Core :: Networking: HTTP, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a1

People

(Reporter: m_kato, Assigned: sgautherie)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file, 1 obsolete file)

Although the latest code doesn't support WinNT 3.51 and WinNT 4.0, there is still the following define for User-Agent.  We should remove it.


mozilla/netwerk/protocol/http/src/nsHttpHandler.cpp 

674             if (info.dwMajorVersion      == 3)
675                 mOscpu.AssignLiteral("WinNT3.51");
676             else if (info.dwMajorVersion == 4)
677                 mOscpu.AssignLiteral("WinNT4.0");
Attached patch patch Av1 (obsolete) — Splinter Review
Attachment #362684 - Flags: review?(bzbarsky)
I'm probably the wrong reviewer for this code.  I'm not sure who the right one is.
Comment on attachment 362684 [details] [diff] [review]
patch Av1

seems like silly makework to me... what about the block below which is for win95/98/ME which we no longer support either? This code isn't hurting anybody, let's leave it alone?
Comment on attachment 362684 [details] [diff] [review]
patch Av1

per comment 3.
Attachment #362684 - Flags: review?(bzbarsky) → review-
Blocks: Win9xRemoval
(In reply to comment #3)
> what about the block below which is for
> win95/98/ME which we no longer support either?

Remove it too.

> This code isn't hurting anybody, let's leave it alone?

Dead code removal...
Status: NEW → ASSIGNED
Av1, with comment 3 suggestion(s),
and some more.
Assignee: m_kato → sgautherie.bz
Attachment #362684 - Attachment is obsolete: true
Attachment #390787 - Flags: review?(cbiesinger)
Attachment #362684 - Attachment description: patch v1 → patch Av1
Attachment #390787 - Flags: review?(cbiesinger) → review+
Comment on attachment 390787 [details] [diff] [review]
(Av2) WNTv4 and (all) older
[Checkin: Comment 7]


http://hg.mozilla.org/mozilla-central/rev/ae4a2a49fff3
Attachment #390787 - Attachment description: (Av2) WNTv4 and (all) older → (Av2) WNTv4 and (all) older [Checkin: Comment 7]
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: