~vono22/cookiekeeper/1.9.0

« back to all changes in this revision

Viewing changes to cookiekeeper/chrome/content/cookiekeeper.xul

  • Committer: Yvon Tanguy
  • Date: 2016-03-30 21:19:43 UTC
  • Revision ID: vono22@yahoo.fr-20160330211943-ws2jsk0uv0m1bbsp
- Fix "block future cookies" feature.
- Use new permission manager in ck.dom_storage.js
- Remove HSTS information using "principal" API if possible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
        <menupopup onpopupshowing="gCookieKeeper.onShowContextCookiePerms();" accessibleType="100F">
83
83
          <!-- Param values from nsICookiePermission.idl -->
84
84
          <menuitem id="mpcc-perm-default" label="&mpcc.perm.default;" type="checkbox"
85
 
                    oncommand="gCookieKeeper.onContextMenuPermission(MOZ_COOKIE_PERM_DEFAULT);" accessibleType="100E" />
 
85
                    oncommand="gCookieKeeper.onContextMenuPermission(0);" accessibleType="100E" />
86
86
          <menuitem id="mpcc-perm-allow"   label="&mpcc.perm.allow;" type="checkbox"
87
 
                    oncommand="gCookieKeeper.onContextMenuPermission(MOZ_COOKIE_PERM_ALLOW);" accessibleType="100E" />
 
87
                    oncommand="gCookieKeeper.onContextMenuPermission(1);" accessibleType="100E" />
88
88
          <menuitem id="mpcc-perm-deny"    label="&mpcc.perm.deny;" type="checkbox"
89
 
                    oncommand="gCookieKeeper.onContextMenuPermission(MOZ_COOKIE_PERM_DENY);" accessibleType="100E" />
 
89
                    oncommand="gCookieKeeper.onContextMenuPermission(2);" accessibleType="100E" />
90
90
          <menuitem id="mpcc-perm-session" label="&mpcc.perm.session;" type="checkbox"
91
 
                    oncommand="gCookieKeeper.onContextMenuPermission(MOZ_COOKIE_PERM_SESSION);" accessibleType="100E" />
 
91
                    oncommand="gCookieKeeper.onContextMenuPermission(8);" accessibleType="100E" />
92
92
          <!-- Do not seems to work: -->
93
93
          <!--
94
94
          <menuitem id="mpcc-perm-first"   label="&mpcc.perm.first;" type="checkbox"