Closed
Bug 954777
Opened 12 years ago
Closed 12 years ago
stop using XPCOM proxies in purpleSockets
Categories
(Chat Core :: Eventloop, defect)
Chat Core
Eventloop
Tracking
(Not tracked)
RESOLVED
FIXED
1.2
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(3 files)
|
7.92 KB,
patch
|
Details | Diff | Splinter Review | |
|
17.00 KB,
patch
|
Details | Diff | Splinter Review | |
|
17.32 KB,
patch
|
Details | Diff | Splinter Review |
*** Original post on bio 1344 at 2012-03-17 11:46:00 UTC ***
*** Due to BzAPI limitations, the initial description is in comment 1 ***
| Assignee | ||
Comment 1•12 years ago
|
||
*** Original post on bio 1344 as attmnt 1259 at 2012-03-17 11:46:00 UTC ***
...as XPCOM proxies have been removed from Mozilla 12.
I have a patch that uses an nsIRunnable instead of the XPCOM proxy, it seems to work.
Now that we no longer use the proxy, I don't see any use for the purpleISocket xpcom interface, and I think we should deCOMify. Not sure if it should be in the same check-in or not though.
| Assignee | ||
Comment 2•12 years ago
|
||
*** Original post on bio 1344 as attmnt 1260 at 2012-03-17 12:04:00 UTC ***
Same as attachment 8353012 [details] [diff] [review] (bio-attmnt 1259) + some straight forward deCOMification. If we really want, we can go further by removing the Init methods, but I'm not sure it's worth the additional effort.
| Assignee | ||
Comment 3•12 years ago
|
||
*** Original post on bio 1344 as attmnt 1261 at 2012-03-17 12:10:00 UTC ***
Bah... I forgot to remove the SetPollFlags method in the 2 previous patches...
Comment 4•12 years ago
|
||
*** Original post on bio 1344 at 2012-03-19 12:58:32 UTC ***
(In reply to comment #0)
> Now that we no longer use the proxy, I don't see any use for the purpleISocket
> xpcom interface, and I think we should deCOMify. Not sure if it should be in
> the same check-in or not though.
I agree that it doesn't seem necessary, the same check-in is fine with me if it reduces the work.
(In reply to comment #2)
> Created attachment 8353014 [details] [diff] [review] (bio-attmnt 1261) [details]
> Patch v3
> Bah... I forgot to remove the SetPollFlags method in the 2 previous patches...
I looked over this briefly and I don't see any major gotchas, but I won't pretend to fully understand all of this code. :)
Comment 5•12 years ago
|
||
*** Original post on bio 1344 at 2012-03-20 22:41:50 UTC ***
Checked in as http://hg.instantbird.org/instantbird/rev/62fad134aa55
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.2
You need to log in
before you can comment on or make changes to this bug.
Description
•