Closed Bug 1923232 Opened 1 year ago Closed 10 months ago

Switch from using keys helper to using JS Object keys method

Categories

(SeaMonkey :: Chat, task)

Tracking

(seamonkey2.53+ fixed)

RESOLVED FIXED
Tracking Status
seamonkey2.53 + fixed

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

Details

(Whiteboard: SM2.53.20)

Attachments

(1 file)

Remove keys helper from utils.js and use JS Object keys method instead.

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

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

Comment on attachment 9429494 [details] [diff] [review]
1923232-irc-remove-keys-25320.patch

lgtm. r/a+
Not an 1:1 replacement because the for in loop would be enumerate properties in the prototype chain as well according to documentation but suspect it doesn't matter or we would have seen fallout.

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

Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/fe4c6cdb0ede
Switch from using keys helper to using JS Object keys method. r=frg

Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED

https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/9a0c76bc6133fa4398531f88db9e19f847e8b463
Switch from using keys helper to using JS Object keys method. r=frg a=frg

Whiteboard: SM2.53.20
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: