Commit Graph

423 Commits

Author SHA1 Message Date
Vaibhav Agarwal
74d0d984a3 Bug 971132 - B2G mochitests should use the new manifest format for runtests; r=jmaher 2014-03-13 10:40:10 -04:00
Gabor Krizsanits
79c86a04cc Bug 980023 - Localstorage access with nsEp. r=bholley 2014-03-11 08:41:55 +01:00
Magnus Melin
ce741f665a Bug 457296 - allow content manager to removing mail address permissions. r=josh 2014-01-25 21:00:10 +02:00
Ryan VanderMeulen
5c70dff09e Backed out changeset fa9b60c88118 (bug 457296) for bustage on a CLOSED TREE. 2014-02-05 15:32:15 -05:00
Magnus Melin
531cd079e8 Bug 457296 - allow content manager to removing mail address permissions. r=josh 2014-02-05 21:49:00 +02:00
Magnus Melin
32454c9cf5 Bug 958865 - extensions/cookie/test should use standard Services.perms. r=jdm 2014-01-12 13:06:20 +02:00
Ehsan Akhgari
ebd358dfd7 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
156c631057 Bug 946815 - Handle nsIExpandedPrincipal instances in the permission manager API. r=baku 2013-12-17 18:01:41 -08:00
Bobby Holley
bfac9cdb32 Bug 946815 - Hoist system-principal checks into CommonTestPermission. r=baku 2013-12-17 18:01:41 -08:00
Trevor Saunders
907dfc4528 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Trevor Saunders
dd9741bba4 bug 941736 - unify sources in extensions/ r=ehsan 2013-11-21 12:44:11 -05:00
Mike Conley
7d688c1614 Bug 457296 - Allow nsIPermissionManager to accept mailto URLs. r=jdm. 2013-11-18 23:34:00 -05:00
Mike Hommey
a65383e1e9 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
8ceb917350 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
9fe772e7fd Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Nathan Froyd
9fd46193ba Bug 918651 - part 7a - fix source files bootlegging things from IPDL headers; rs=ehsan 2013-10-18 16:57:55 -04:00
Mike Hommey
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Brian O'Keefe
4c98f61956 Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Ed Morley
d98210c39f Backed out changeset b2e1c92b7e39 (bug 899495) for build failures on a CLOSED TREE 2013-10-09 15:06:24 +01:00
Genti Tola
4e0254eb70 Bug 899495 - Correct the usage patterns of TestPermissionFromPrincipal in nsPermissionManager. r=mounir 2013-10-07 12:34:31 +02:00
Ms2ger
7ffcd856c2 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger
105ce73cfa Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Mark Hammond
49b7b0c646 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
Gregory Szorc
b03f79a7e6 Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Gregory Szorc
cc1da2c22a Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
e53ac5e38d Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley
d84dee3273 Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Ed Morley
038cae0901 Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Ed Morley
eccf636a23 Backed out changeset 8b02873ee07e (bug 920223) 2013-09-30 12:50:05 +01:00
Gregory Szorc
e4af98efbf Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Gregory Szorc
483a776413 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc
cabc6369a6 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Gregory Szorc
ed68c2482b Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Robert O'Callahan
33cdb42706 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Masatoshi Kimura
e2bd26bb53 Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Ms2ger
4922ccbc0a Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
ced3dd8b1c Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal 2013-08-22 08:56:00 +02:00
Brian O'Keefe
3a92f0ae7c Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Trevor Saunders
7da524d402 bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00
Trevor Saunders
6b3c839046 backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Ehsan Akhgari
81b0d336c3 Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Brian O'Keefe
a2b1403eb0 Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps 2013-07-04 08:28:43 -04:00
Trevor Saunders
6be251fe42 bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Justin Lebar
6c46d0633d 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
75c400493b 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
d4a641ff56 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
93d699a389 Backed out changeset fa98df7a3493 (bug 702559) for xpcshell orange 2013-06-26 12:56:40 +01:00
David Rajchenbach-Teller
b564e3a0d8 Bug 702559 - First implementation of mozIStorageAsyncConnection;r=mak 2013-06-26 05:45:49 -04:00
Benjamin Smedberg
02de42afbc 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
490a441f62 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
af7b9396b4 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
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Martijn Wargers
0ed85aa9ea Bug 799268 - Remove Permission.txt. r=mounir, r=gwagner 2013-05-20 12:52:20 +02:00
David Zbarsky
8649b6e814 Bug 864206 - Use dom::Touch instead of nsIDOMTouch where possible r=Ms2ger 2013-05-17 13:17:53 -07:00
Ted Mielczarek
110919af49 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Joey Armstrong
2dbf79e9a4 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Joey Armstrong
8e99512c32 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
matekm
b1c603956b Bug 784739 - Switch from NULL to nullptr in extensions/; r=ehsan 2013-04-02 21:06:20 -04:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Nikhil Marathe
3e0604acc9 Bug 822712 - SimplePush - Implementation. r=dougt, jst, jlebar 2013-03-28 20:49:41 -07:00
Mike Shal
c2a9341a2e Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
7bb3ee056b Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Martijn Wargers
5759f6c917 Bug 839519 - Permission.txt documentation fix. r=gwagner 2013-03-09 21:00:16 -05:00
Gregory Szorc
01c06b3b88 Bug 784841 - Part 19: Remove allmakefiles.sh and friends; r=ted 2013-02-25 14:09:16 -08:00
Gregory Szorc
c978b6dde0 Bug 784841 - Part 18n: Convert /extensions; r=glandium f=Ms2ger 2013-02-25 12:47:21 -08:00
Jonathan Mayer
55b948dec0 Bug 818340 - change third party cookie handling to block third party cookies from sites I haven't visited. (r=jdm, r=dolske)
--HG--
extra : rebase_source : f486f39feac1fb743edc920618bec29884d515f1
2013-02-22 08:16:01 -08:00
Mounir Lamouri
ef99168226 Bug 815640 - Make permission manager aware of "file://". r=sicking 2013-02-04 17:10:28 +00:00
Mounir Lamouri
733765a46c 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
b83b1bde8e Bug 823134 - Test IDN management for the Permission Manager. r=sicking 2013-02-04 16:48:51 +00:00
Mounir Lamouri
eadf7b4527 Bug 823094 - Test invalid permissions loading. r=sicking 2013-02-04 16:47:45 +00:00
Mounir Lamouri
bcc5f571c3 Bug 823093 - Skip permission entries with invalid appId. r=sicking 2012-12-20 13:25:36 +01:00
Ehsan Akhgari
84c4ac3c75 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Ryan VanderMeulen
8560ac4b1e Backed out changeset eb2f0c1fffc2 (bug 820613) for xpcshell failures.
--HG--
extra : rebase_source : 7fff4cec5a4d7839cd3ede5cd0322631e11f9d38
2013-01-26 14:05:31 -05:00
Shriram Kunchanapalli
c040b5ce94 Bug 820613 - Remove all references to shutdown-cleanse. r=bsmedberg 2013-01-17 00:40:56 +05:30
Mounir Lamouri
f3f1d88d97 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
73aa2b3db1 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
b7715a8b56 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
Fabrice Desré
59be7f3e7a Bug 829679 - Package installation without // on the manifest URL causes webapps.json corruption r=ferjm a=tef+ 2013-01-14 11:41:24 -08:00
Trevor Saunders
942f22b38c no bug - remove a bunch of extra ';'s to make -pedantic happy 2013-01-11 05:14:04 -05:00
Gene Lian
dabbff84f6 Bug 820206 - Validate "Webapps:*" message parameters in the parent process (part 3, test cases). r=fabrice, a=blocking-basecamp 2013-01-11 20:50:50 +08:00
Andrea Marchesini
3066e0aff8 Bug 827895 - Settings app should not show the session permissions of apps, r=mounir 2013-01-10 21:23:39 +01:00
Andrea Marchesini
fd59052d04 Bug 827050 - Clear cookies and stored data in the browser clears remember my choice permissions for PROMPT_ACTION WebAPIs, r=mounir
--HG--
rename : dom/tests/mochitest/localstorage/frame_clear_browser_data.html => extensions/cookie/test/frame_clear_browser_data.html
rename : extensions/cookie/test/test_app_uninstall_permissions.html => extensions/cookie/test/test_app_cleardata_permissions.html
2013-01-07 18:37:01 +01:00
Phil Ringnalda
a1a5fe2151 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
51a4605b5a 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
72c8687e50 Bug 827050 - Clear cookies and stored data in the browser clears remember my choice permissions for PROMPT_ACTION WebAPIs, r=mounir
--HG--
rename : dom/tests/mochitest/localstorage/frame_clear_browser_data.html => extensions/cookie/test/frame_clear_browser_data.html
rename : extensions/cookie/test/test_app_uninstall_permissions.html => extensions/cookie/test/test_app_cleardata_permissions.html
2013-01-07 18:37:01 +01:00
Ed Morley
1ec4ab774f Backout 66a04865fe51 (bug 827050) for xpcshell orange on a CLOSED TREE 2013-01-07 11:37:10 +00:00
Andrea Marchesini
ab477f7cbf 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
7bcf80c241 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
2cf729e283 Backed out changeset 66a7359f9be2 (bug 791546) because it broke the build 2013-01-03 18:36:16 -05:00
Shriram Kunchanapalli
bbed330a6b Bug 791546: Removes nsCRT::strcmp(const PRUnichar* s) from nsCRT.h and replaces it occurrences with NS_strcmp; r=bsmedberg 2012-12-24 08:47:18 +05:30
Andres Hernandez
35a1d2cfaf Bug 823735 - Port test_cookies_privatebrowsing.js to the per-window PB APIs; r=jdm 2013-01-03 11:54:03 -06:00
Ehsan Akhgari
1aed2b7344 Bug 823735 - Part 0: Skip test_cookies_privatebrowsing.js in per-window PB builds 2012-12-20 17:56:29 -05:00
Jeff Walden
7146c23e80 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Ehsan Akhgari
2c9269ce04 Bug 806728 - Part 0: Don't run test_bug468700.js in per-window PB builds 2012-12-06 00:31:35 -05:00
Mounir Lamouri
a42a42deaf Bug 814554 - Don't stop reading the permissions database when an invalid entry is found. r=sicking 2012-11-27 23:29:19 +00:00
Josh Matthews
49e7fd5def Bug 722850 - Part 3: Check the private browsing status of channels when checking cookie permissions. r=mconnor 2012-02-01 05:20:01 -05:00
Josh Matthews
0da98fa02a Bug 722850 - Part 2: Query the private browsing status of channels used to manipulate cookies. r=mconnor 2012-02-08 13:37:07 -05:00
Ed Morley
12188e22ea Backout 7a0fe388a24b, 2a9fbd15cad4, 320c1567e431 & d907ac7bf669 (bug 722850) for xpcshell & browser-chrome failures 2012-11-16 14:18:41 +00:00
Josh Matthews
1128fac362 Bug 722850 - Part 3: Check the private browsing status of channels when checking cookie permissions. r=mconnor 2012-02-01 05:20:01 -05:00
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Mounir Lamouri
437e73a06b Bug 785632 - Remove the permission manager workaround for Gaia. r=jlebar 2012-09-25 23:50:17 +01:00
Mounir Lamouri
d862c3f266 Bug 795136 - 2/2 - Add 'network-events' permission to access network-{upload,download} events. r=sicking 2012-09-30 14:48:40 +01:00
Isaac Aggrey
e496b51126 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Mounir Lamouri
210a855204 Bug 783408 - 4/4 - Tests. r=mconnor
--HG--
rename : extensions/cookie/test/test_app_uninstall.html => extensions/cookie/test/test_app_uninstall_permissions.html
2012-09-27 22:34:13 +01:00
Chris Jones
9bae56577f Back out bug 785632 for breaking several things (7de3b05cd7d8)
--HG--
extra : rebase_source : 316d258d39e86a760326c14f3196fff5319dc2b1
2012-09-25 21:21:35 -07:00
Mounir Lamouri
8a64aaafc3 Bug 785632 - Remove the permission manager workaround for Gaia. r=jlebar 2012-09-25 23:50:17 +01:00
Mike Habicher
e695772791 Bug 776934 - Add permissions check to camera API. r=jlebar 2012-09-21 06:32:18 -04:00
David Zbarsky
1e164bad05 Fix virtual dtor warning, no bug, blanket r=bz 2012-09-19 23:57:04 -04:00
Mounir Lamouri
5c6348dfef Bug 787717 - r=bsmith 2012-09-19 18:25:17 +01:00
Jason Duell
e8292ead1f Bug 756648 - Implement "cookie jars" for apps. r=biesi,smaug
--HG--
rename : netwerk/test/unit_ipc/test_cookie_wrap.js => netwerk/test/unit_ipc/test_cookie_header_wrap.js
2012-09-18 12:04:04 -04:00
Monica Chew
ac45691812 Bug 770691 - Add plubming for per-site third party cookie blocking. r=mconnor sr=biesi,jduell,mconnor
--HG--
extra : rebase_source : 4ee3c16a72f0a557575349354060b76ca4e34031
2012-09-14 13:57:56 -07:00
Mounir Lamouri
567601f01d Bug 724878 - Make nsPermissionManager DB access (except init) async. r=jlebar 2012-09-08 15:48:20 +02:00
Gregor Wagner
c4e645e110 Bug 778326 - Create Permission.txt that explains permisson-names and purpose. r=sicking DONTBUILD 2012-09-05 17:40:27 -07:00
Myk Melez
5c26a10f81 bug 785545 - unrefactor mozApps tests for maximum readability/reliability; r=fabrice 2012-09-05 10:08:54 -07:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Mounir Lamouri
41418e78b5 Bug 786296 - Remove permissions when an app is uninstalled. r=jlebar,fabrice 2012-08-31 11:34:28 -03:00
Mounir Lamouri
4fabe12e02 Bug 769589 - Remove deprecated GetOriginatingURI from nsICookiePermission. r=mconnor sr=cbiesinger 2012-08-30 17:07:03 -03:00
Philipp von Weitershausen
5801c8b2ab Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Mounir Lamouri
d33a4b6f18 Bug 785631 - Temporarily allow permissions if they don't match the app/browserElement info. r=cjones
This is a workaround for Gaia.
2012-08-26 15:59:59 -03:00
Mounir Lamouri
43ed9e33da Bug 784878 - Use version 2 by default when no version in found in permissions.sqlite. r=sicking
This is a patch to workaround the fact that talos has wrongly gerenated
permissions.sqlite files which don't have a user_version and are version 2.
This is going to be replaced by a MOZ_ASSERT by bug 784884.
2012-08-23 11:42:52 -07:00
Mounir Lamouri
54d8b77206 Bug 777072 - 7/7 - Tests. r=sicking 2012-08-23 11:38:51 -07:00
Mounir Lamouri
2d587555ef Bug 777072 - 6/7 Update the Permission Manager database to save appId/isInBrowserElement. r=sicking 2012-08-23 11:38:26 -07:00
Mounir Lamouri
dfbc7aa2c0 Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking 2012-08-23 11:38:01 -07:00
Mounir Lamouri
650746ff63 Bug 777072 - 4/7 - Update nsPermission to use appId/isInBrowserElement. r=sicking 2012-08-23 11:37:31 -07:00
Mounir Lamouri
2b28512edc Bug 777072 - 3/7 - Update nsHostTable and nsHostEntry to make them aware of new security model. r=sicking,jlebar 2012-08-23 11:47:55 -07:00
Mounir Lamouri
165aff92a3 Bug 777072 - 2/7 - AddInternal() and CommonTestPermission() should use nsIPrincipal. r=sicking 2012-08-25 09:53:48 -07:00
Mounir Lamouri
562dcd571b Bug 777072 - 1/7 - Move the logic from methods taking URIs to method taking nsIPrincipals. r=sicking 2012-08-23 11:35:54 -07:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
e0ab48ca47 Bug 782252 - Use NS_FAILED instead of boolean test for ToInteger()/ToFloat(); r=ehsan 2012-08-13 16:49:48 +03:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
903f6c9c84 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gregor Wagner
806182419e Bug 776764 - Allow permissionDB parent directory to not be the default profile directory. r=fabrice 2012-07-24 11:22:14 -07:00
Mounir Lamouri
72b86db435 Bug 775817 - Update [most] tests to use the new permission manager api. r=sicking 2012-07-23 11:08:07 -07:00
Mounir Lamouri
988c1091fe Bug 774819 - Handle system principals in nsPermissionManager when taking principals. r=sicking 2012-07-18 08:24:01 -07:00
Mounir Lamouri
5199742d8f Bug 769586 - Make PopupWindowManager using principal to test permissions instead of URI. r=sicking 2012-07-15 18:37:31 -07:00
David Zbarsky
49fd1b1f38 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (extensions/cookie); r=mak 2012-07-12 14:07:26 -04:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Mounir Lamouri
d5d4583352 Bug 769583 - Add methods to nsIPermissionManager to take principals instead of URIs. r=sicking 2012-07-09 12:26:12 +02:00