Use {} and [] instead of new Object() and new Array() in cZ 
    Categories
(SeaMonkey :: Chat, task)
Tracking
(seamonkey2.53+ fixed)
People
(Reporter: iannbugzilla, Assigned: iannbugzilla)
Details
(Whiteboard: SM2.53.21)
Attachments
(1 file)
| 89.51 KB,
          patch         | frg
:
              
              review+ frg
:
              
              approval-comm-release+ | Details | Diff | Splinter Review | 
At the moment when creating new Objects and Arrays ChatZilla uses new Object() and new Array(), we should use {} and [] instead.
[Approval Request Comment]
Regression caused by (bug #): n/a
User impact if declined: none
Testing completed (on m-c, etc.): 2.53.21pre
Risk to taking this patch (and alternatives if risky): low
String changes made by this patch: none
|   | ||
| Updated•6 months ago
           | 
|   | ||
| Comment 2•6 months ago
           | ||
Comment on attachment 9469335 [details] [diff] [review]
1951303-irc-array-object-25321.patch
LGTM r/a+
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/534139312f6d
Use {} and [] instead of new Object() and new Array() in cZ. r=frg DONTBUILD
|   | ||
| Comment 4•2 months ago
           | ||
https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/79ccaf385e876abcb7901345eb92e1fc9da51e0f
Use {} and [] instead of new Object() and new Array() in cZ. r=frg a=frg
Description
•