Commit Graph

875 Commits

Author SHA1 Message Date
Karl Tomlinson
598272fb50 b=713802 link gio extension against libxul for tracemalloc stack functions r=bsmedberg
--HG--
extra : transplant_source : %C8%A3o%BE%A0z%F7%C8%8A%E6%0E%D4s%7D%90%9C%D9%0F%06%7E
2012-09-27 13:47:19 +12:00
Terrence Cole
185355684f Bug 791322 - Move Rooted to js:: namespace; r=billm
These should not be part of the public API.

--HG--
extra : rebase_source : 00a69ee54f06e3f557cd9ec2f3b059df10aa32df
2012-09-24 18:08:22 -07:00
Chris Jones
a9e25eb7d3 Back out bug 785632 for breaking several things (7de3b05cd7d8)
--HG--
extra : rebase_source : 316d258d39e86a760326c14f3196fff5319dc2b1
2012-09-25 21:21:35 -07:00
Mounir Lamouri
7bae845a1d Bug 785632 - Remove the permission manager workaround for Gaia. r=jlebar 2012-09-25 23:50:17 +01:00
Mike Habicher
4f1885c23e Bug 776934 - Add permissions check to camera API. r=jlebar 2012-09-21 06:32:18 -04:00
Ms2ger
5b4f3272e0 Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
ab95b96a10 Bug 581198 - Remove xpcom/io from LOCAL_INCLUDES; r=ted 2012-09-20 09:55:36 +02:00
David Zbarsky
8a9b502147 Fix virtual dtor warning, no bug, blanket r=bz 2012-09-19 23:57:04 -04:00
Bobby Holley
501866d7d9 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
fa9262e827 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
794a8eae22 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
e00045ebd8 Bug 724878 - Make nsPermissionManager DB access (except init) async. r=jlebar 2012-09-08 15:48:20 +02:00
Mounir Lamouri
7745ecab62 Bug 787717 - r=bsmith 2012-09-19 18:25:17 +01:00
Ryan VanderMeulen
826e297731 Merge m-c to inbound. 2012-09-05 23:03:09 -04:00
Makoto Kato
507b76f776 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Gregor Wagner
1011efb407 Bug 778326 - Create Permission.txt that explains permisson-names and purpose. r=sicking DONTBUILD 2012-09-05 17:40:27 -07:00
Myk Melez
9ab726eee5 bug 785545 - unrefactor mozApps tests for maximum readability/reliability; r=fabrice 2012-09-05 10:08:54 -07:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Mounir Lamouri
994c0bc77a Bug 786296 - Remove permissions when an app is uninstalled. r=jlebar,fabrice 2012-08-31 11:34:28 -03:00
Mounir Lamouri
2d1e1ea4ca Bug 769589 - Remove deprecated GetOriginatingURI from nsICookiePermission. r=mconnor sr=cbiesinger 2012-08-30 17:07:03 -03:00
Andrew McCreight
f91c720810 Bug 780979 - Compute length of char to freq order tables. r=smontagu 2012-08-29 06:48:15 -07:00
Philipp von Weitershausen
f47e2a9937 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
d76d19dc3d 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
33fd35d389 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
8b14a87907 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
7ccf1cd678 Bug 777072 - 7/7 - Tests. r=sicking 2012-08-23 11:38:51 -07:00
Mounir Lamouri
f2974f3cbd 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
fe72c430a5 Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking 2012-08-23 11:38:01 -07:00
Mounir Lamouri
ccfaecab9f Bug 777072 - 4/7 - Update nsPermission to use appId/isInBrowserElement. r=sicking 2012-08-23 11:37:31 -07:00
Mounir Lamouri
86ed743386 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
b08e6d9c87 Bug 777072 - 2/7 - AddInternal() and CommonTestPermission() should use nsIPrincipal. r=sicking 2012-08-25 09:53:48 -07:00
Mounir Lamouri
801e6085c8 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
ebc923dcf1 Bug 784776 - Don't assume NULL is numeric in Hunspell code. r=smaug 2012-08-26 08:58:37 -04:00
Ryan VanderMeulen
f88b773991 Merge m-c to inbound. 2012-08-24 16:18:09 -04:00
Luke Wagner
ce71e55555 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
3de548a9b6 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
52c9c4c96b Bug 777072 - 7/7 - Tests. r=sicking 2012-08-23 11:38:51 -07:00
Mounir Lamouri
c99ed99904 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
9963397515 Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking 2012-08-23 11:38:01 -07:00
Mounir Lamouri
dcf6c48eb9 Bug 777072 - 4/7 - Update nsPermission to use appId/isInBrowserElement. r=sicking 2012-08-23 11:37:31 -07:00
Mounir Lamouri
49bd52f0f6 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
80c28690ad Bug 777072 - 2/7 - AddInternal() and CommonTestPermission() should use nsIPrincipal. r=sicking 2012-08-23 11:36:28 -07:00
Mounir Lamouri
bfac8ce592 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
6d9cce76e8 Bug 781126 - Followup, remove accidental tabs. r=me DONTBUILD 2012-08-22 14:13:14 -07:00
Ehsan Akhgari
217645f36e 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
8c296bbcd4 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
40c9d4394d 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
963057b5ac Bug 782252 - Use NS_FAILED instead of boolean test for ToInteger()/ToFloat(); r=ehsan 2012-08-13 16:49:48 +03:00
Aryeh Gregor
f9b558f81c Bug 751554 part 5 - Rename OperationID to EditAction; r=ehsan 2012-08-12 21:28:26 +03:00
Ryan VanderMeulen
212cdce23a Merge inbound to m-c. 2012-08-11 22:33:42 -04:00