Closed
Bug 527550
Opened 15 years ago
Closed 14 years ago
mozmill tests for message header pane
Categories
(Thunderbird :: Message Reader UI, enhancement)
Thunderbird
Message Reader UI
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.3a1
People
(Reporter: BenB, Assigned: bwinton)
References
Details
Attachments
(1 file, 6 obsolete files)
5.98 KB,
patch
|
bwinton
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Comment 1•15 years ago
|
||
Carrying over tests from bug 525302. It's written by Blake.
Attachment #411280 -
Flags: review?(dmose)
Comment 2•15 years ago
|
||
This patch had bit-rotted, so I've updated it so that it applies cleanly now, and fixed an errant reference to msgc to point to mc. It still has two problems, however: a) it doesn't work, because baseFolder is no longer defined during setup. I could just put it back, I suppose, but it's not at all clear to me what the point of baseFolder was in the original test. Blake, do you recall what the intent of creating baseFolder in the first place was? b) we're reaching into folder-display-helper to get the message generator, which seems a bit icky.
Attachment #411280 -
Attachment is obsolete: true
Attachment #411280 -
Flags: review?(dmose)
Assignee | ||
Comment 3•15 years ago
|
||
a) the baseFolder was just to give us somewhere to switch to, so that we could switch back, so that the more link would appear again. If there's a better way to de-more-ify the headers, I'ld be happy to use it instead. b1) test-junk-helpers.js and test-search-window-helpers.js grab folder-display-helper's mc, so maybe it's not that bad. b2) On the other hand, perhaps, since we already call "fdh.installInto(module);", we can just use "msgGen.makeNamesAndAddresses", and avoid the ickyness?
Comment 4•15 years ago
|
||
a) putting baseFolder back seems fine, but please include a comment describing why it's there Let's do b2.
Assignee | ||
Comment 5•15 years ago
|
||
So, the more should collapse when we switch to a different message, so I've gone that way instead, with comments. But, this test still fails. And if we change mail/themes/pinstripe/mail/messageHeader.css to add "background-color: red;" to #expandedHeaderView[show_header_mode="all"], we can see that, in fact, the show_header_mode="all" does persist. But it doesn't when I'm running Shredder, and click on a different message. asuth, any ideas what's going wrong here? It's like AdjustHeaderView isn't getting called by updateExpandedView, which isn't getting called by UpdateExpandedMessageHeaders because document.getElementById('msgHeaderViewDeck').selectedIndex isn't 0 or gBuiltExpandedView is false/null… (In mail/base/content/msgHdrViewOverlay.js, line 430.) Thanks, Blake.
Attachment #412927 -
Attachment is obsolete: true
Attachment #413417 -
Flags: review?(bugmail)
Comment 6•15 years ago
|
||
Does it fail on both trunk and branch, or just one of the two? In my recent experience, trunk still Has Issues (TM).
Assignee | ||
Comment 7•15 years ago
|
||
Fails on branch. Update: The problem seems to be that I call getIdentityForHeader(msgHdr) in http://mxr.mozilla.org/comm-central/source/mail/base/content/mailWindowOverlay.js#870 and it returns [nsIMsgIdentity: id2]. In http://mxr.mozilla.org/comm-central/source/mail/test/mozmill/runtest.py#111, we define id1, but not id2. I'm tracing into it more. Later, Blake.
Status: NEW → ASSIGNED
Assignee | ||
Comment 8•15 years ago
|
||
Andrew, is there a reason account 1 didn't have any identities, or was it just a typo? (If there's a reason, then I think I should probably create the messages in account 2.) Thanks, Blake.
Attachment #413417 -
Attachment is obsolete: true
Attachment #413500 -
Flags: review?(bugmail)
Attachment #413417 -
Flags: review?(bugmail)
Comment 9•15 years ago
|
||
Comment on attachment 413500 [details] [diff] [review] A patch which fixes the test. I doubt it was intentional. I assume I just copied and pasted the lines from somewhere else and they either came that way or I botched the copy and paste. Changing review for the mozmill-change to Standard8 since he really knows more about those things (and their multiplicity requirements) and it was probably his work that I copied and pasted from. Adding dmose for review since the actual test needs review and I don't see a + in the history.
Attachment #413500 -
Flags: review?(dmose)
Attachment #413500 -
Flags: review?(bugzilla)
Attachment #413500 -
Flags: review?(bugmail)
Updated•15 years ago
|
Attachment #413500 -
Flags: review?(bugzilla) → review+
Comment 10•15 years ago
|
||
Comment on attachment 413500 [details] [diff] [review] A patch which fixes the test. r=Standard8 for the runtest.py change (assuming this doesn't affect any other mozmill tests). Please also ensure that we do a patch to update mailnews/test/performance/common/mailnewsTestPrefs.js for the bloat tests in a similar manner.
Assignee | ||
Comment 11•15 years ago
|
||
Good catch. Fixed.
Attachment #413500 -
Attachment is obsolete: true
Attachment #415172 -
Flags: review?(dmose)
Attachment #413500 -
Flags: review?(dmose)
Assignee | ||
Updated•15 years ago
|
Whiteboard: [patch up, needs r dmose]
Comment 12•14 years ago
|
||
That patch has been obsoleted by bug 550487 and its follow-up patches. Anything else left to do here, or do you want to close this bug?
Comment 13•14 years ago
|
||
Sorry, this appears to be a follow-up on the subject-wrap bug 489609 rather, I may have mixed up the context seeing the more-button handling in this patch...
Comment 14•14 years ago
|
||
Comment on attachment 415172 [details] [diff] [review] The previous patch, with Standard8's suggestion. Blake, this is bitrotted, any chance you could unbitrot and then re-request review (request from me if you want).
Attachment #415172 -
Flags: review?(dmose)
Assignee | ||
Comment 15•14 years ago
|
||
(In reply to comment #14) > Blake, this is bitrotted, any chance you could unbitrot and then re-request > review (request from me if you want). Yeah, sure. Here you go. I've requested review from you, but if dmose has the time, I think he was poking around in the code under test, so it might make sense for him to review it as well. Thanks, Blake.
Attachment #415172 -
Attachment is obsolete: true
Attachment #473592 -
Flags: review?(bugzilla)
Comment 16•14 years ago
|
||
I don't expect to have time for this soon, unfortunately.
Assignee | ||
Updated•14 years ago
|
Whiteboard: [patch up, needs r dmose] → [patch up, needs r standard8]
Updated•14 years ago
|
Attachment #473592 -
Flags: review?(bugzilla) → review+
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Whiteboard: [patch up, needs r standard8]
Assignee | ||
Comment 17•14 years ago
|
||
Carrying forward r=Standard8.
Attachment #473592 -
Attachment is obsolete: true
Attachment #479509 -
Flags: review+
Comment 18•14 years ago
|
||
Checked in: http://hg.mozilla.org/comm-central/rev/1328faef900b
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.3a1
Assignee | ||
Comment 19•14 years ago
|
||
And backed out: http://hg.mozilla.org/comm-central/rev/addb24b470d6 I'm recompiling (again) to try and update the affected tests, so that we can check in a new, working, patch.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 20•14 years ago
|
||
Since the patch for bug 543701 seems to fix the tests that this breaks, I'm going to depend on it to check this in. (On the plus side, Jim, that means that I'm _way_ more likely to quickly review any patch you post on that bug. ;) Thanks, Blake.
Depends on: 543701
Assignee | ||
Comment 21•14 years ago
|
||
Pushed as http://hg.mozilla.org/comm-central/rev/8356c5aebd6c
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•