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.

nsIPopupWindowManager

IID:3210a6aa-b464-4f57-9335-b22815567cf1
Inherits From:nsISupports

This interface is implemented by the following components:


Constants

These values are returned by the testPermission method
PRUint32 ALLOW_POPUP = 1
PRUint32 DENY_POPUP = 2
PRUint32 ALLOW_POPUP_WITH_PREJUDICE = 3

Methods

PRUint32 testPermission ( nsIURI uri )

PRUint32 testPermission ( nsIURI uri )

Test whether a website has permission to show a popup window.

Arguments:
uri: is the URI to be tested
Returns:
one of the enumerated permission actions defined above

Reference documentation is generated from Mozilla's source.