Closed
Bug 623503
Opened 14 years ago
Closed 14 years ago
Factor out MozMill content-tab helpers into a separate file
Categories
(Thunderbird :: Testing Infrastructure, defect)
Thunderbird
Testing Infrastructure
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.3a2
People
(Reporter: rain1, Assigned: rain1)
References
Details
Attachments
(1 file)
17.19 KB,
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
I'm going to need this for the about:support tests.
Attachment #501637 -
Flags: review?(bugzilla)
Comment 1•14 years ago
|
||
Looks good to me.
Comment 2•14 years ago
|
||
Comment on attachment 501637 [details] [diff] [review] patch, v1 >diff --git a/mail/test/mozmill/content-tabs/test-content-tab.js b/mail/test/mozmill/content-tabs/test-content-tab.js >-var MODULE_REQUIRES = ['window-helpers']; >+var MODULE_REQUIRES = ['window-helpers', 'content-tab-helpers']; ... > var setupModule = function (module) { >- windowHelper = collector.getModule('window-helpers'); >- mc = windowHelper.wait_for_existing_window("mail:3pane"); >- windowHelper.installInto(module); >- windowHelper.augment_controller(mc); >+ let fdh = collector.getModule('folder-display-helpers'); >+ fdh.installInto(module); >+ let cth = collector.getModule('content-tab-helpers'); >+ cth.installInto(module); > }; I think you should be removing window-helpers from MODULES_REQUIRES. I guess we don't need folder-display-helpers because that's required in content-tab-helpers? >diff --git a/mail/test/mozmill/content-tabs/test-lwthemes.js b/mail/test/mozmill/content-tabs/test-lwthemes.js >@@ -47,28 +47,25 @@ var MODULE_REQUIRES = ['window-helpers'] This needs updating. r=Standard8 with those fixed.
Attachment #501637 -
Flags: review?(bugzilla) → review+
Assignee | ||
Comment 3•14 years ago
|
||
(In reply to comment #2) > I think you should be removing window-helpers from MODULES_REQUIRES. I guess we > don't need folder-display-helpers because that's required in > content-tab-helpers? Probably, but I fixed it anyway. I've made two more changes: move the pageLoaded and pageLoading variable sets to inside the STATE_IS_NETWORK guards (to only care about the top-level request), and fix the copyright year in test-content-tab-helpers.js. I'm waiting for the tree to turn green to land.
Assignee | ||
Comment 4•14 years ago
|
||
https://hg.mozilla.org/comm-central/rev/6f67325cc686
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.3a2
You need to log in
before you can comment on or make changes to this bug.
Description
•