aboutsummaryrefslogtreecommitdiffstats
path: root/doc/reference/tmpl/ephy-permission-manager.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/tmpl/ephy-permission-manager.sgml')
-rw-r--r--doc/reference/tmpl/ephy-permission-manager.sgml16
1 files changed, 4 insertions, 12 deletions
diff --git a/doc/reference/tmpl/ephy-permission-manager.sgml b/doc/reference/tmpl/ephy-permission-manager.sgml
index f62bd4de1..93abf486c 100644
--- a/doc/reference/tmpl/ephy-permission-manager.sgml
+++ b/doc/reference/tmpl/ephy-permission-manager.sgml
@@ -28,6 +28,10 @@ network.cookie.cookieBehavior preference. For images, the default is determined
by Mozilla's network.image.imageBehavior preference.
</para>
<para>
+The predefined permission types are EPT_COOKIE ("cookie"), EPT_IMAGE ("image")
+and EPT_POPUP ("popup"). You can also make up your own type string.
+</para>
+<para>
Though the word &quot;host&quot; is used in many function descriptions, Mozilla
does not act as one would expect. Always pass a URL to any functions which
need have a &quot;host&quot; parameter. However, the &quot;host&quot; in an
@@ -48,18 +52,6 @@ Details a specific permission of a specific website.
@type: An #EphyPermissionType.
@permission: An #EphyPermission (either allow or deny).
-<!-- ##### ENUM EphyPermissionType ##### -->
-<para>
-Determines what permission we're dealing with.
-</para>
-
-@EPT_COOKIE:
- Permission for the website to store cookies on the user's computer.
-@EPT_IMAGE:
- Permission for the website to show images to the user.
-@EPT_POPUP:
- Permission for the website to open popup windows (using JavaScript).
-
<!-- ##### ENUM EphyPermission ##### -->
<para>
Determines whether the website is allowed or denied access.