Closed Bug 1727989 Opened 3 years ago Closed 3 years ago

Fix JS strict warnings in unescapeTagValue

Categories

(SeaMonkey :: Chat, defect)

defect

Tracking

(seamonkey2.53+ fixed)

RESOLVED FIXED
seamonkey 2.92
Tracking Status
seamonkey2.53 + fixed

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

References

Details

(Whiteboard: SM2.53.10)

Attachments

(1 file)

In Bug 1724584 unescapeTagValue was introduced but it generates a strict JS warning so that should be fixed. Whilst here let's make it neater.

[Approval Request Comment]
Regression caused by (bug #): 1724584
User impact if declined: strict JS errors
Testing completed (on m-c, etc.): 2.53.10
Risk to taking this patch (and alternatives if risky): low
String changes made by this patch: none

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

Comment on attachment 9238400 [details] [diff] [review]
1727989-irc-unescape-strict-25310.patch

LGTM

NIT: There is a next method used in generators. I dislike having language elements mixed up with own definitions. Could you rename at least next to something else. Maybe nextData. current is ok but also sounds ambiguous. Maybe currentData?

r/a+ with this fixed.

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

Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/763306b2198f
Fix JS strict warnings in unescapeTagValue. r=frg

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Whiteboard: SM2.53.10
Target Milestone: --- → seamonkey 2.92
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: