Closed
Bug 603253
Opened 15 years ago
Closed 15 years ago
Make featureConfigurator.js use iteratorUtils.toArray
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rain1, Assigned: bwinton)
References
Details
Attachments
(1 file, 2 obsolete files)
|
1.55 KB,
patch
|
rain1
:
review+
|
Details | Diff | Splinter Review |
Now that we've fixed toArray, we might as well make use of it in featureConfigurator.js. Blake, if you would upload that patch you have I could review it.
+++ This bug was initially created as a clone of Bug #559909 +++
| Assignee | ||
Comment 1•15 years ago
|
||
(I haven't tested it yet, but I thought I'ld start it through the review process while I was waiting for the tests to run.)
Thanks,
Blake.
| Reporter | ||
Comment 2•15 years ago
|
||
Comment on attachment 482597 [details] [diff] [review]
A patch to use the new iterator functionality.
As you pointed out on IRC, you don't actually call toArray. :P
Attachment #482597 -
Flags: review?(sid.bugzilla) → review-
| Assignee | ||
Comment 3•15 years ago
|
||
It even passes the tests, although it is a little ugly to have to write:
servers = toArray(Iterator(servers));
instead of just:
servers = toArray(servers);
Thanks,
Blake.
Attachment #482597 -
Attachment is obsolete: true
Attachment #482667 -
Flags: review?(sid.bugzilla)
| Reporter | ||
Comment 4•15 years ago
|
||
Comment on attachment 482667 [details] [diff] [review]
How about this one?
Iterator is the wrong thing to use here: http://grab.by/grabs/0f399aaaba4dffbb5668fc5cdb3d4bb7.png
Attachment #482667 -
Flags: review?(sid.bugzilla) → review-
| Assignee | ||
Comment 5•15 years ago
|
||
(In reply to comment #4)
> Iterator is the wrong thing to use here:
> http://grab.by/grabs/0f399aaaba4dffbb5668fc5cdb3d4bb7.png
Indeed. fixIterator seems to work, though, as you mentioned on IRC.
(I printed out the server type in a dump statement, and it returned "none", and "pop3", so I believe it works.)
Thanks,
Blake.
Attachment #482667 -
Attachment is obsolete: true
Attachment #482712 -
Flags: review?(sid.bugzilla)
| Reporter | ||
Comment 6•15 years ago
|
||
Comment on attachment 482712 [details] [diff] [review]
And this should hopefully be the final version.
Looks good.
Attachment #482712 -
Flags: review?(sid.bugzilla) → review+
| Assignee | ||
Comment 7•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•