Commit Graph

871 Commits

Author SHA1 Message Date
Mike Habicher
e695772791 Bug 776934 - Add permissions check to camera API. r=jlebar 2012-09-21 06:32:18 -04:00
Ms2ger
1e7015f897 Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
14bb88f62a Bug 581198 - Remove xpcom/io from LOCAL_INCLUDES; r=ted 2012-09-20 09:55:36 +02:00
David Zbarsky
1e164bad05 Fix virtual dtor warning, no bug, blanket r=bz 2012-09-19 23:57:04 -04:00
Bobby Holley
4146acd0bd Bug 790905 - Make the compartment principal of autoconfig_glob match the principal passed to JS::Evaluate. r=bz 2012-09-19 11:15:24 +02: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
Mounir Lamouri
5c6348dfef Bug 787717 - r=bsmith 2012-09-19 18:25:17 +01:00
Ryan VanderMeulen
564bdb74b5 Merge m-c to inbound. 2012-09-05 23:03:09 -04:00
Makoto Kato
c28c020a8f Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09: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
Andrew McCreight
485c489c25 Bug 780979 - Compute length of char to freq order tables. r=smontagu 2012-08-29 06:48:15 -07: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
Benjamin Peterson
de7d529c1c Bug 781035 - Use the C++ JS compile API in more places. r=jorendorff sr=jst 2012-08-27 08:04:37 -04: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
Jan Beich
f118b2544f Bug 784776 - Don't assume NULL is numeric in Hunspell code. r=smaug 2012-08-26 08:58:37 -04:00
Ryan VanderMeulen
6989c1bf30 Merge m-c to inbound. 2012-08-24 16:18:09 -04:00
Luke Wagner
94264a0bc8 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Mounir Lamouri
b6a268b678 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
269ad22673 Bug 777072 - 7/7 - Tests. r=sicking 2012-08-23 11:38:51 -07:00
Mounir Lamouri
927cfc948b 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
d5b168eac0 Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking 2012-08-23 11:38:01 -07:00
Mounir Lamouri
316146fe55 Bug 777072 - 4/7 - Update nsPermission to use appId/isInBrowserElement. r=sicking 2012-08-23 11:37:31 -07:00
Mounir Lamouri
ede8f880d1 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
101f5213c1 Bug 777072 - 2/7 - AddInternal() and CommonTestPermission() should use nsIPrincipal. r=sicking 2012-08-23 11:36:28 -07:00
Mounir Lamouri
5eaf516876 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
John Schoenick
24746727a8 Bug 781126 - Followup, remove accidental tabs. r=me DONTBUILD 2012-08-22 14:13:14 -07:00
Ehsan Akhgari
2795937cf4 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04: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
John Schoenick
e4cf564242 Bug 781126 - Part 1 - Browser content policy should check TYPE_OBJECT at shouldProcess rather than shouldLoad. r=jst 2012-08-17 14:45:04 -07: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
Aryeh Gregor
30201a72e9 Bug 751554 part 5 - Rename OperationID to EditAction; r=ehsan 2012-08-12 21:28:26 +03:00
Ryan VanderMeulen
870142e530 Merge inbound to m-c. 2012-08-11 22:33:42 -04:00
Masayuki Nakano
afe7578939 Bug 719320 part.17 Replace legacy mouse scroll event dispatchers with D3E wheel event dispatcher on nsWidgetUtils r=smaug 2012-08-12 10:42:37 +09:00
Honza Bambas
541453729c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Aryeh Gregor
07e11d5e7d Bug 751554 part 4 - Make nsEditor::OperationID an enum class; r=ehsan 2012-08-01 15:22:07 +03:00
Aryeh Gregor
13b54b385e Bug 751554 part 3 - Fix OperationID type errors; r=ehsan 2012-08-01 15:20:59 +03:00