Commit Graph

226 Commits

Author SHA1 Message Date
Magnus Melin
d40bd61535 Bug 1073095 - nsPermissionManager.cpp references a browser path by default in kDefaultsUrlPrefName. Make the permissions.manager.defaultsUrl pref overridable. r=benjamin 2015-02-13 23:32:41 +02:00
Ehsan Akhgari
26e77687fe Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 23:26:30 -05:00
Wes Kocher
7a32cf03e9 Backout c034dba7a417 2015-01-12 14:46:48 -08:00
Ehsan Akhgari
508aa7ab75 Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 16:35:06 -05:00
Ehsan Akhgari
3029959e61 Bug 1116542 - Remove the code to handle shutdown-cleanse from the permission manager; r=jdm
shutdown-cleanse has not been a thing for quite a while.
2014-12-31 09:31:28 -05:00
Fernando Jiménez
592866c448 Bug 1068635 - [Loop] Not remembering + allow access to the contact list, 2nd time Loop is started -> Crash!. r=baku, sicking 2014-10-17 15:47:35 +02:00
Mark Hammond
2107af2477 Bug 1058433 - nsPermissionManager now records the mod-time of a permission and allows removal of ones modified since a specified time. r=ehsan 2014-09-15 11:33:12 +10:00
Mark Hammond
33a8ab2c50 Bug 506446 - nsPermissionManager now reads a file with default permissions. r=bsmedberg 2014-09-12 13:24:10 +10:00
Ehsan Akhgari
81325f71a2 Bug 1060994 - Fix more bad implicit constructors in permission checker; r=bsmedberg 2014-09-02 18:20:38 -04:00
Benoit Jacob
d0de31a97f Bug 1028588 - Fix dangerous public destructors in extensions/ - r=ehsan 2014-06-23 18:40:02 -04:00
Birunthan Mohanathas
eeb9aaaa94 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Gabor Krizsanits
2def9dd7e2 Bug 980023 - Localstorage access with nsEp. r=bholley 2014-03-11 08:41:55 +01:00
Magnus Melin
dc5ac15933 Bug 457296 - allow content manager to removing mail address permissions. r=josh 2014-01-25 21:00:10 +02:00
Ryan VanderMeulen
291f9086d1 Backed out changeset fa9b60c88118 (bug 457296) for bustage on a CLOSED TREE. 2014-02-05 15:32:15 -05:00
Magnus Melin
10f6e3b2fd Bug 457296 - allow content manager to removing mail address permissions. r=josh 2014-02-05 21:49:00 +02:00
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Bobby Holley
440e4a743d Bug 946815 - Handle nsIExpandedPrincipal instances in the permission manager API. r=baku 2013-12-17 18:01:41 -08:00
Bobby Holley
525b9fcbdb Bug 946815 - Hoist system-principal checks into CommonTestPermission. r=baku 2013-12-17 18:01:41 -08:00
Trevor Saunders
b4ae5fdd96 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Mike Conley
084920a9fa Bug 457296 - Allow nsIPermissionManager to accept mailto URLs. r=jdm. 2013-11-18 23:34:00 -05:00
Nathan Froyd
d3d40de64f Bug 918651 - part 7a - fix source files bootlegging things from IPDL headers; rs=ehsan 2013-10-18 16:57:55 -04:00
Mark Hammond
5e27e0c165 Bug 921342 - fix compiler warning about not enough args to macro ENSURE_NOT_CHILD_PROCESS_. r=bsmedberg 2013-10-01 11:02:34 +10:00
Robert O'Callahan
51222bdd45 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg 2013-09-02 20:41:57 +12:00
Justin Lebar
8cc88f21ce Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
de89040a2c Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
David Rajchenbach-Teller
ab03f3c645 Bug 702559 - First implementation of mozIStorageAsyncConnection;r=mak
* * *
Bug 702559 - Implementation of transaction helper compatible with mozIStorageAsyncConnection;r=mak
2013-06-27 09:00:59 -04:00
Ed Morley
2282c75266 Backed out changeset fa98df7a3493 (bug 702559) for xpcshell orange 2013-06-26 12:56:40 +01:00
David Rajchenbach-Teller
6c281716ee Bug 702559 - First implementation of mozIStorageAsyncConnection;r=mak 2013-06-26 05:45:49 -04:00
Benjamin Smedberg
9813f8b4e5 Bug 883420 - Add an API to set a new expireTime for an existing permission, r=ehsan sr=mounir 2013-06-24 08:51:07 -04:00
Benjamin Smedberg
87773ea01f Bug 874197 - Change nsIPermissionManager.TYPE_SESSION to also respect expiration times if they are specified. r=jdm sr=mounir 2013-06-06 15:59:32 -04:00
Benjamin Smedberg
77791d0959 Bug 874196 - Add an API to get the specifics of a permission given a host/type: this will allow the plugin click-to-activate UI to manage permissions by the matching host and determine whether the current permission is per-session or persistent. r=jdm sr=mounir 2013-06-06 15:59:31 -04:00
David Zbarsky
a2fe5c8cd6 Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger 2013-05-17 13:17:53 -07:00
matekm
c877c780c4 Bug 784739 - Switch from NULL to nullptr in extensions/; r=ehsan 2013-04-02 21:06:20 -04:00
Mounir Lamouri
4633c87ff1 Bug 815640 - Make permission manager aware of "file://". r=sicking 2013-02-04 17:10:28 +00:00
Mounir Lamouri
0e893ea82a Bug 816956 - Don't try to check all parent hosts in the Permission Manager (but only until the domain name). r=sicking 2013-02-04 23:41:52 +00:00
Mounir Lamouri
c7dde5ce2e Bug 823093 - Skip permission entries with invalid appId. r=sicking 2012-12-20 13:25:36 +01:00
Ryan VanderMeulen
170dafeee8 Backed out changeset eb2f0c1fffc2 (bug 820613) for xpcshell failures. 2013-01-26 14:05:31 -05:00
Shriram Kunchanapalli
fe0e257728 Bug 820613 - Remove all references to shutdown-cleanse. r=bsmedberg 2013-01-17 00:40:56 +05:30
Mounir Lamouri
8fa79857d1 Bug 830983 - Make 'webapps-clear-data' handler working for real when browserOnly is true. r=sicking 2013-01-19 00:15:55 +00:00
L. David Baron
b8d53aa77d Backout changeset aa20a6097d0b (bug 830983) for causing mochitest-other orange in test_app_cleardata_permissions.html. 2013-01-18 11:00:19 +00:00
Alexandre Poirot
3a4361abe9 Bug 830983 - Prevent removing in-memory app permissions when deleting only its in-browser permissions., r=sicking 2013-01-18 11:04:40 +01:00
Andrea Marchesini
18ac67dd23 Bug 827895 - Settings app should not show the session permissions of apps, r=mounir 2013-01-10 21:23:39 +01:00
Andrea Marchesini
84ae0ef25f Bug 827050 - Clear cookies and stored data in the browser clears remember my choice permissions for PROMPT_ACTION WebAPIs, r=mounir 2013-01-07 18:37:01 +01:00
Phil Ringnalda
e4e19e7fc4 Back out fef358e6d5e6 (bug 827050) for Linux/Windows xpcshell orange in test_cache_jar_wrap.js 2013-01-07 22:01:41 -08:00
Andrea Marchesini
d3f8f08157 Bug 827327 - Remember my permissions for the privileged apis in a privileged app is broken. r=sicking 2013-01-07 21:29:22 -05:00
Andrea Marchesini
a4a4ee04b9 Bug 827050 - Clear cookies and stored data in the browser clears remember my choice permissions for PROMPT_ACTION WebAPIs, r=mounir 2013-01-07 18:37:01 +01:00
Ed Morley
de41cae42c Backout 66a04865fe51 (bug 827050) for xpcshell orange on a CLOSED TREE 2013-01-07 11:37:10 +00:00
Andrea Marchesini
22e4992046 Bug 827050 - Clear cookies and stored data in the browser clears remember my choice permissions for PROMPT_ACTION WebAPIs r=sicking 2013-01-07 11:31:21 +01:00
Andrea Marchesini
312a2e1b0c Bug 811026 - [Permissions] Grant a prompted permission for the duration of the session, r=sicking 2013-01-05 14:02:29 -08:00
Ehsan Akhgari
486ddcd1fd Backed out changeset 66a7359f9be2 (bug 791546) because it broke the build 2013-01-03 18:36:16 -05:00