nsIAuthInformation.ONLY_PASSWORD
Patrick Wang <[email protected]> Fri, 17 Aug 2012 03:16:39 -0700 (PDT)
| Newsgroups | gmane.comp.mozilla.devel.netlib |
|---|---|
| Message-ID | <[email protected]> |
Hi All, 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? Thanks, Patrick