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
David Zbarsky
ae718ee1c0
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Justin Lebar
a5ce138092
Bug 769585 - Fix vim modelines. DONTBUILD rs=mrbkap
2012-06-29 12:42:59 +02:00
David Rajchenbach-Teller
c1914a1d00
Bug 702344 - Async requests for nsPermissionManager::RemoveAll();r=mak
2012-04-30 18:21:50 +02:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
4f91700da9
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Geoff Lankow
22383d15ab
Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part G, remove remaining uses of nsIPrefBranch2; r=bsmedberg
2012-01-18 23:23:28 +13:00
Rafael Ávila de Espíndola
5fe190c37d
Bug 711447 - Close connection in nsPermissionManager. r=dwitte.
...
--HG--
extra : rebase_source : 0df435f943142b7a09de36fdb03e01114ef20f15
2011-12-21 17:04:49 -05:00
Mark Banner
bb7846c7e6
Bug 557047 - Replace mailnews specific ifdef (MOZ_MAIL_NEWS) in cookie code with tests for a protocol flag. r=sdwilsh,sr=bzbarsky
2011-12-05 12:35:23 +00:00
Ed Morley
6a998be2c5
Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail
2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545
Bug 616542 - Shorten file path length of mochitest; r=ted
2011-11-04 21:13:42 +00:00
Rafael Ávila de Espíndola
c2c47b6022
Bug 688913 - Finalize statements in extensions/cookie and toolkit/components/contentprefs. r=mak.
2011-10-28 10:55:20 -04:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Michael Wu
990540dee3
Bug 676188 - Misc misuses of PRBool caught by the compiler, r=jimm,jst,bz,dougt,roc,mak
2011-08-30 11:55:14 -07:00
Benjamin Stover
2cfa2fc739
Bug 674615 Remove nsPermissionManager's GetSingleton r=dwitte
2011-08-30 10:45:09 -07:00
Benjamin Smedberg
22f2972acb
Merge the electrolysis branch to mozilla-central.
2011-08-19 10:15:52 -04:00
Malini Das
a0832b693a
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only
2011-08-12 12:21:44 -04:00
Benjamin Smedberg
9432e1edba
Bug 666748 - Optionally support a pool of content processes instead of a single one. r=jdm The followup patch for 669640 must land together with this one.
2011-08-02 15:35:42 -04:00
Michael Wu
6a28121ce1
Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc
2011-07-26 23:43:37 -07:00
Josh Matthews
d6d7c63173
Bug 621367 - nsPermissionManager doesn't allow enumerator access in content processes (r=dwitte)
2011-07-13 18:03:44 +02:00
Chris Coulson
fcf6940d0c
Test case for bug 667087; r=dwitte
2011-06-28 17:40:17 -04:00
Ed Morley
223c46b36b
Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted
2011-06-12 03:49:00 -04:00
Ehsan Akhgari
143a202de9
Bug 650522 - Test handling of host names with a single character before a dot correctly; r=dwitte
2011-04-18 18:27:37 -04:00
Joel Maher
6993636556
Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only
2011-05-20 11:54:01 -04:00
Ehsan Akhgari
680e9b757e
Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted
2011-04-16 19:39:34 -04:00
Serge Gautherie
692dce2d14
Bug 228448 - Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE'; (Hv1) /extensions/*.
...
r=cbiesinger.
2011-04-14 17:25:00 +02:00
Jonathan Kew
20281c115e
Backed out changeset 80451fb8f11c (bug 585152) as per discussion in the bug.
2011-04-13 14:35:06 +01:00
Paul Biggar
bc3d36f617
Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
...
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.
Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
L. David Baron
52ee86d378
Backout changeset b583111a88aa (bug 585152) for causing mochitest-browser-chrome orange on opt builds.
2011-04-12 01:29:41 -07:00
Paul Biggar
c0aeeea187
Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
...
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.
Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
Matheus Kerschbaum
93480c6366
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Shawn Wilsher
4f383e2f5d
Bug 645099 - Stop using [deprecated] Storage methods in the permission manager
...
r=bz
2011-03-31 10:19:31 -07:00
Kyle Huey
61ff9410c4
Backed out changeset a5dbece71e4a due to test failures
2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
1f81122982
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg
2011-03-31 07:22:55 -04:00
Josh Matthews
d0f1f79e8b
Bug 619559 - Make permission manager notify observers in content processes. r=dwitte a=jst
2010-12-25 02:31:01 -05:00