ref http://groups.google.com/group/mozmill-dev
(cc'ing ctalbert and Mikeal for their info as well)
-Gary
nth10sd
On 2/23/09 2:39 AM, Wayne Mery wrote:
> I am I doing this correctly?
>
> Attempting to run mozmill test for Bug 374577 (CAPS) using mozmill 1.02
> and TB 3.0b2 I get
>
> fail :: undefined +exception: [Exception... "Component returned failure
> code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgFolder.getChildNamed]"
> nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
> file:///C:/Users/wsm0/AppData/Roaming/Thunderbird/Profiles/4jc4urc0.default/extensions/moz...@mozilla.com/resource/modules/frame.js
> -> file:///C:/test-msg-content-policy.js :: test_jsContentPolicy :: line
> 203" data: no]test: function test_jsContentPolicy() {
> dump("test_jsContentPolicy() starting\n");
> mainWindow.ClearMessagePane();
> MC.sleep(10000);
> var localTestFolder = ensureFreshTestFolder();
> var inbox = localRootFolder.getChildNamed("Inbox");
> mainWindow.gFolderTreeView.selectFolder(inbox);
> mainWindow.gFolderTreeView.selectFolder(localTestFolder);
> MC.sleep(10000);
> checkJsInMail(localTestFolder);
> checkJsInNonMessageContent();
> checkJsInMail(localTestFolder);
> checkJsInNonMessageContent();
> dump("finished test_jsContentPolicy()\n");
> }
Seems like the test has been stripped off. We need more info.
Henrik
> fail :: undefined +exception: [Exception... "Component returned
> failure code: 0x80004005 (NS_ERROR_FAILURE)
> [nsIMsgFolder.getChildNamed]" nsresult: "0x80004005
While checking the source I noticed that simply the folder cannot be found:
http://mxr.mozilla.org/comm-central/source/mailnews/base/util/nsMsgDBFolder.cpp#2912
You should check why your Inbox gets deleted...
Henrik