Open
Bug 781443
Opened 12 years ago
Updated 2 years ago
Make imapd.js fakeserver simulate real Gmail server
Categories
(Thunderbird :: Testing Infrastructure, defect)
Thunderbird
Testing Infrastructure
Tracking
(Not tracked)
NEW
People
(Reporter: atuljangra, Unassigned)
References
(Blocks 1 open bug)
Details
As a part of bug 721316( and few others), IMAP fake server now has the ability to behave as GMail server. In GMail server, the response of X-GM-LABELS does not return a label corresponding to the current folder. In our "GMail" fake server, we are not taking care of this. We should be doing a check if X-GM-LABELS has a label corresponding to current folder, if so, then we should remove it form the X-GM-LABELS response. Depending upon the test-creator for this check is not a good option.
Reporter | ||
Comment 1•12 years ago
|
||
We need to amend the code here: http://mxr.mozilla.org/comm-central/source/mailnews/test/fakeserver/imapd.js#1595 so as to do the needful. CCing David Bienvenu, and Joshua Cranmer. P.S.: bienvenu: expert in imap and gmail jcranmer: implemented fakeserver. ( I think!)
Reporter | ||
Comment 2•12 years ago
|
||
Well, I created the patch for Bug 721316, where this was a problem. So I consider it as a bug, and hence confirming it. :)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•12 years ago
|
||
Should mark this a blocks bug 798145
Comment 4•12 years ago
|
||
I have already made some Gmail related improvements to impad.js in bug 495318, but there is still more to do. This should probably be the first bug to take on so that xpcshell tests can be written for the other bugs that block bug 798145. I have changed the description of this bug to be broader than just the X-GM-LABELS implementation in imapd.js, although that is the main thing left to do. We also need to do some work on the message storage. I have some ideas, but they need to ferment a bit more before I write them down.
Depends on: 495318
Summary: Make fakeserver exclude current folder's label from X-GM-LABELS → Make imapd.js fakeserver simulate real Gmail server
Reporter | ||
Comment 5•12 years ago
|
||
(In reply to David Lechner (:dlech) from comment #4) > We also need to do some work on the message storage. I have some ideas, but > they need to ferment a bit more before I write them down. Please do discuss your ideas as soon as they are ready :-) Cheers!
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•