Closed
Bug 1933081
Opened 2 months ago
Closed 2 months ago
Clean up Components usage in cZ
Categories
(SeaMonkey :: Chat, enhancement)
SeaMonkey
Chat
Tracking
(seamonkey2.53? affected)
RESOLVED
FIXED
People
(Reporter: frg, Assigned: frg)
Details
(Whiteboard: SM2.53.20)
Attachments
(1 file, 1 obsolete file)
7.11 KB,
patch
|
frg
:
review+
frg
:
approval-comm-release+
|
Details | Diff | Splinter Review |
While doing reviews I noticed that there are still some places using the unabbreviated Components.* usage left. Quick cleanup incoming.
Assignee | ||
Comment 1•2 months ago
|
||
I left one Components.classes usage in static.js intact for better readability. If you want it out too lmk.
[Approval Request Comment]
Regression caused by (bug #): --
User impact if declined: none
Testing completed (on m-c, etc.): 2.53.20b1 pre
Risk to taking this patch (and alternatives if risky): trivial
String changes made by this patch: --
Attachment #9439579 -
Flags: review?(iannbugzilla)
Attachment #9439579 -
Flags: approval-comm-release?
Comment on attachment 9439579 [details] [diff] [review]
1933081-czcomponents-25320.patch
Review of attachment 9439579 [details] [diff] [review]:
-----------------------------------------------------------------
r/a=me with those addressed
::: suite/extensions/irc/js/lib/dcc.js
@@ +977,1 @@
> this.filestream.setOutputStream(this.localFile.outputStream);
Combine into:
this.filestream = Cc["@mozilla.org/binaryoutputstream;1"]
.createInstance(Ci.nsIBinaryOutputStream)
.setOutputStream(this.localFile.outputStream);
@@ +1069,3 @@
> this.filestream = this.filestream.createInstance(nsIBinaryInputStream);
> this.filestream.setInputStream(this.localFile.baseInputStream);
>
Combine this into:
this.filestream = Cc["@mozilla.org/binaryinputstream;1"]
.createInstance(Ci.nsIBinaryInputStream)
.setInputStream(this.localFile.baseInputStream);
Attachment #9439579 -
Flags: review?(iannbugzilla)
Attachment #9439579 -
Flags: review+
Attachment #9439579 -
Flags: approval-comm-release?
Attachment #9439579 -
Flags: approval-comm-release+
Assignee | ||
Comment 3•2 months ago
|
||
Updated patch with review comments fixed. r/a+ from IanN retained.
Attachment #9439579 -
Attachment is obsolete: true
Attachment #9439582 -
Flags: review+
Attachment #9439582 -
Flags: approval-comm-release+
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/df16fa65d312
Clean up Components usage in ChatZilla. r=IanN
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•