On Fri, Aug 17, 2012 at 3:16 AM, Patrick Wang <[email protected]> wrote: > I am writing a test case for an asyncPromptAuth() implementation with sjs > files, > and I am try to simulate a scenario that the prompt shows only password field, > that is, nsIAuthInformation.ONLY_PASSWORD is set when the authInfo is passed > to > asyncPromptAuth(). But I don't know how to let caller pass such authInfo. > Could anybody tell me how to make caller pass an AuthInfo with ONLY_PASSWORD > set?
So, this only happens for (certain) FTP requests, basically for ftp://[email protected]/ when the server asks for a password. I don't think we have an FTP server for tests (maybe we do?) Why do you need an actual caller? Can't your test directly call your auth prompt implementation? Though I don't really understand how SJS files relate to auth prompts. -christian _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
