Closed Bug 1707111 Opened 4 years ago Closed 4 years ago

Remove host app checks from chatZilla

Categories

(SeaMonkey :: Chat, task)

Tracking

(seamonkey2.53+ fixed, seamonkey2.57esr? affected)

RESOLVED FIXED
seamonkey 2.87
Tracking Status
seamonkey2.53 + fixed
seamonkey2.57esr ? affected

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

Details

(Whiteboard: SM2.53.8)

Attachments

(1 file)

As we will always be running our forked chatZilla on SeaMonkey, we can remove the code that checks and does different things depending on the host app. Just keep the SeaMonkey code paths.

[Approval Request Comment]
Regression caused by (bug #): n/a
User impact if declined: none
Testing completed (on m-c, etc.): 2.53.8
Risk to taking this patch (and alternatives if risky): low
String changes made by this patch: 7 strings removed

Attachment #9217905 - Flags: review?(frgrahl)
Attachment #9217905 - Flags: approval-comm-release?
Attachment #9217905 - Flags: approval-comm-esr60?

I cannot see any use for client.hostPlatform so that could probably also be removed.

Comment on attachment 9217905 [details] [diff] [review]
1707111-irc-clienthost-2538.patch

LGTM

client.platform = "Unknown";
if (navigator.platform.search(/mac/i) > -1)

The client checks can be done with AppConstants.plattform in a follow-up.

Attachment #9217905 - Flags: review?(frgrahl)
Attachment #9217905 - Flags: review+
Attachment #9217905 - Flags: approval-comm-release?
Attachment #9217905 - Flags: approval-comm-release+
Attachment #9217905 - Flags: approval-comm-esr60?
Attachment #9217905 - Flags: approval-comm-esr60+
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey 2.87
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: