WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsISecurityWarningDialogs

IID:1c399d06-1dd2-11b2-bc58-c87cbcacdb78
Inherits From:nsISupports
Status:FROZEN

Functions that display warnings for transitions between secure and insecure pages, posts to insecure servers etc.

This interface is implemented by the following components:


Methods

PRBool confirmEnteringSecure ( nsIInterfaceRequestor ctx ) PRBool confirmEnteringWeak ( nsIInterfaceRequestor ctx ) PRBool confirmLeavingSecure ( nsIInterfaceRequestor ctx ) PRBool confirmMixedMode ( nsIInterfaceRequestor ctx ) PRBool confirmPostToInsecure ( nsIInterfaceRequestor ctx ) PRBool confirmPostToInsecureFromSecure ( nsIInterfaceRequestor ctx )

PRBool confirmEnteringSecure ( nsIInterfaceRequestor ctx )

Inform the user that a transition from an insecure page to a secure page is happening.

Arguments:
ctx: A user interface context.
Returns:
true if the user confirms to continue

PRBool confirmEnteringWeak ( nsIInterfaceRequestor ctx )

Inform the user that a transition from an insecure page or from a secure page to a weak security page is happening.

Arguments:
ctx: A user interface context.
Returns:
true if the user confirms to continue

PRBool confirmLeavingSecure ( nsIInterfaceRequestor ctx )

Inform the user that a transition from a secure page to an insecure page is happening.

Arguments:
ctx: A user interface context.
Returns:
true if the user confirms to continue

PRBool confirmMixedMode ( nsIInterfaceRequestor ctx )

Inform the user the currently displayed page contains some secure and some insecure page components.

Arguments:
ctx: A user interface context.
Returns:
true if the user decides to show insecure objects.

PRBool confirmPostToInsecure ( nsIInterfaceRequestor ctx )

Inform the user that information is being submitted to an insecure page.

Arguments:
ctx: A user interface context.
Returns:
true if the user confirms to submit.

PRBool confirmPostToInsecureFromSecure ( nsIInterfaceRequestor ctx )

Inform the user: Although the currently displayed page was loaded using a secure connection, and the UI probably currently indicates a secure page, that information is being submitted to an insecure page.

Arguments:
ctx: A user interface context.
Returns:
true if the user confirms to submit.

Reference documentation is generated from Mozilla's source.