Necko:nsIAuthPrompt2: Difference between revisions

Jump to navigation Jump to search
allow not implementing the async variant
(async prompts, part II (final))
(allow not implementing the async variant)
Line 165: Line 165:
     * Calling cancel on the returned object SHOULD close the dialog
     * Calling cancel on the returned object SHOULD close the dialog
     * and MUST call onAuthCancelled on the provided callback.
     * and MUST call onAuthCancelled on the provided callback.
    *
    * @throw NS_ERROR_NOT_IMPLEMENTED
    *        Asynchronous authentication prompts are not supported;
    *        the caller should fall back to promptUsernameAndPassword
     */
     */
     nsICancelable promptPasswordAsync(in nsIChannel aChannel,
     nsICancelable promptPasswordAsync(in nsIChannel aChannel,
Confirmed users
195

edits

Navigation menu