Christoph Kerschbaumer
cb97217d73
Bug 1205151 - Use channel->Open2() in extensions/cookie/nsPermissionManager.cpp (r=sicking)
2015-09-15 19:47:27 -07:00
Shu-yu Guo
45211869c8
Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Nicholas Nethercote
69d088e45f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Yoshi Huang
de4b8a9d76
Bug 1165272 - Part 2: replace getNoAppCodebasePrincipal. r=bholley
2015-08-18 15:01:42 +08:00
Yoshi Huang
2e408d4ba7
Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley
2015-08-17 17:03:19 +08:00
Bobby Holley
8f42e826dc
Backed out 3 changesets (bug 1165272) for b2g sanity blocker.
2015-08-25 11:16:21 -07:00
Yoshi Huang
cfa9db9f8e
Bug 1165272 - Part 2: Replace getNoAppCodebasePrincipal. r=bholley
2015-08-24 01:18:00 -04:00
Yoshi Huang
f41381bebf
Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley
2015-08-24 01:31:00 -04:00
Ehsan Akhgari
b329eb438c
Bug 1194319 - Correctly deal with all possible ways that initializing the permission manager DB connection can fail; r=mystor
2015-08-18 18:52:00 -04:00
Ehsan Akhgari
9625df3344
Bug 1195983 - Remove some dead code from the permission manager; r=mystor
2015-08-18 18:51:59 -04:00
Michael Layzell
3663e6e594
Bug 1189070 - Don't discard localhost or IP address entries from the permissions database when migrating, r=ehsan
2015-08-11 15:09:52 -04:00
Ryan VanderMeulen
c3be1488d1
Bug 863738 - Skip test_cookies_persistence.js for frequent failures. r=tanvi
...
CLOSED TREE
2015-08-07 12:16:47 -04:00
Michael Layzell
47c4a8694a
Bug 1185239 - Test migration logic in the non-presence of a nsINavHistoryService
2015-07-23 17:57:51 -04:00
Michael Layzell
5ae437c3e8
Bug 1186034 - Part 2: Tests for new permission manager migration pathways
2015-07-23 17:57:47 -04:00
Michael Layzell
d1ba67c3ba
Bug 1186034 - Part 1: Re-migrate users with permissions-database versions 5/6 to prevent dataloss
2015-07-23 17:57:43 -04:00
Michael Layzell
c03e3d58f3
Bug 1186909 - Use eTLD+1 rather than host for the history query lookup for nsIPermissionManager migrations
2015-07-23 17:57:39 -04:00
Michael Layzell
be265d4e85
Bug 1186946 - Warn on history service call failure in nsPermissionManager migrations
2015-07-23 17:57:35 -04:00
Carsten "Tomcat" Book
be9961fc50
Backed out changeset 89fbd9f70cf8 (bug 1186034) for xpcshell failures in test_permmanager_migrate_4-7.js
2015-07-23 11:50:42 +02:00
Carsten "Tomcat" Book
ad42d07db3
Backed out changeset 45f326aa8cd6 (bug 1186034)
2015-07-23 11:50:03 +02:00
Michael Layzell
a5a5f8f193
Bug 1186034 - Part 2: Tests for new permission manager migration pathways. r=ehsan
2015-07-22 12:52:00 +02:00
Michael Layzell
2281d3a7a5
Bug 1186034 - Part 1: Re-migrate users with permissions-database versions 5/6 to prevent dataloss. r=ehsan
2015-07-22 13:43:00 +02:00
Wes Kocher
e0f6d9a61e
Merge inbound to central, a=merge
2015-07-21 15:49:23 -07:00
Michael Layzell
ceaaac2cc0
Bug 1185343 - Part 2: Test for migration from schema 5->6 for permission manager. r=ehsan
2015-07-21 08:54:00 -04:00
Michael Layzell
eb6e629a03
Bug 1185343 - Part 1: Use new table moz_perms for permissions, and leave unmigrated permission data in moz_hosts for back-compat. r=ehsan
2015-07-21 10:23:00 -04:00
Michael Layzell
ffbae9a832
Bug 1185340 - Greatly improve efficiency of permissions.sqlite migration on large permissions databases. r=ehsan
2015-07-20 10:58:00 -04:00
Ehsan Akhgari
12621f5d41
Bug 1185986 - Don't hold the observer service alive from nsPermissionManager; r=jdm
...
In order to fully ensure that leaking the permission manager service
will not leak the observer service, let's kill this reference completely.
This patch also moves the registration of the observers to after the
IsChildProcess() check, since the profile observer notifications do not fire
in the child process.
2015-07-21 13:40:34 -04:00
Michael Layzell
dbbf64007a
Bug 1185239 - Feature-check for the Places API in nsPermissionManager migration code; r=ehsan
2015-07-18 17:05:12 -04:00
Ehsan Akhgari
dcdaa701b5
Bug 1184397 - Release the observer service when the permission manager shuts down; r=jdm
2015-07-17 15:57:26 -04:00
Wes Kocher
49bb9beb7a
Backed out changeset 7b3074ad5644 (bug 1184397) to hopefully fix the xpcshell bustage
2015-07-16 16:35:08 -07:00
Michael Layzell
4c03b39cb4
Bug 1172080 - Part 2: Use ^ instead of ! to delimit originAttributes from the URI in nsIPrincipal.origin, r=bholley
2015-07-16 14:50:07 -04:00
Michael Layzell
a56bd7c4b8
Bug 1165263 - Part 2: Update unit tests for nsPermissionManager to reflect new internals, r=ehsan
2015-07-16 14:49:53 -04:00
Michael Layzell
48c0c2b431
Bug 1165263 - Part 1: Update nsPermissionManager to use origins instead of hosts internally, r=ehsan
2015-07-16 14:49:51 -04:00
Michael Layzell
7eaef5d9e3
Bug 817007 - Part 1: Remove <file> hack from the permission manager, r=ehsan
2015-07-16 14:49:46 -04:00
Michael Layzell
f16afb3e6f
Bug 1173523 - Part 10: Update nsIPermission and nsIPermissionManager tests to use new API for nsIPermission, r=ehsan
2015-07-16 14:49:39 -04:00
Michael Layzell
74b23f7c35
Bug 1173523 - Part 2: Tests for new methods nsIPrincipal::MatchesURI and nsIPrincipal::Matches, r=ehsan
2015-07-16 14:49:24 -04:00
Michael Layzell
3b6bd60b8d
Bug 1173523 - Part 1: Expose an nsIPrincipal from nsIPermission rather than a host string, appId, and isInBrowserElement, r=ehsan
2015-07-16 14:49:22 -04:00
Ehsan Akhgari
9842187192
Bug 1184397 - Release the observer service when the permission manager shuts down; r=jdm
2015-07-16 13:39:28 -04:00
Birunthan Mohanathas
4041b38a57
Bug 1182408 - Part 2: Use nsTHashTable::Iterator in nsPermissionManager. r=ehsan
2015-07-15 12:58:08 -07:00
Birunthan Mohanathas
1147af0b26
Bug 1182408 - Part 1: Move permission key checks out of loop. r=ehsan
2015-07-14 10:53:12 -07:00
Wes Kocher
24d022d24f
Backed out 24 changesets (bug 1173523, bug 1172080, bug 817007, bug 1165263) for android reftest bustage CLOSED TREE
...
Backed out changeset 84fe04b2e7d1 (bug 1172080)
Backed out changeset 0ff004760a1f (bug 1172080)
Backed out changeset af147585ad55 (bug 1165263)
Backed out changeset c3af8ebb6db0 (bug 1165263)
Backed out changeset cd3f33a888fe (bug 1165263)
Backed out changeset e5db39044a1e (bug 1165263)
Backed out changeset c01c9ed77061 (bug 1165263)
Backed out changeset fb723aaa4267 (bug 1165263)
Backed out changeset f754e52e74dc (bug 1165263)
Backed out changeset c6bda3a0afd6 (bug 817007)
Backed out changeset bfa100253349 (bug 817007)
Backed out changeset b787b3f9aadc (bug 1173523)
Backed out changeset 4a0676b73f77 (bug 1173523)
Backed out changeset 82034a4560c5 (bug 1173523)
Backed out changeset 4bdb91114c7a (bug 1173523)
Backed out changeset 72406261eccc (bug 1173523)
Backed out changeset 541b6faf7196 (bug 1173523)
Backed out changeset 1caac4569616 (bug 1173523)
Backed out changeset 0d4f9f9e1b4e (bug 1173523)
Backed out changeset 2d5661eb966c (bug 1173523)
Backed out changeset 89833c0bb0cd (bug 1173523)
Backed out changeset ea64d70eacfe (bug 1173523)
Backed out changeset a8e4f1c0c445 (bug 1173523)
Backed out changeset cf498d466b85 (bug 1173523)
2015-07-14 14:00:32 -07:00
Michael Layzell
aec7e095c8
Bug 1172080 - Part 2: Use ^ instead of ! to delimit originAttributes from the URI in nsIPrincipal.origin, r=bholley
2015-07-14 15:06:42 -04:00
Michael Layzell
4933b84f3a
Bug 1165263 - Part 2: Update unit tests for nsPermissionManager to reflect new internals, r=ehsan
2015-07-14 15:06:34 -04:00
Michael Layzell
77532e71a6
Bug 1165263 - Part 1: Update nsPermissionManager to use origins instead of hosts internally, r=ehsan
2015-07-14 15:06:33 -04:00
Michael Layzell
ecdf139ec4
Bug 817007 - Part 1: Remove <file> hack from the permission manager, r=ehsan
2015-07-14 15:06:31 -04:00
Michael Layzell
164eb866ae
Bug 1173523 - Part 10: Update nsIPermission and nsIPermissionManager tests to use new API for nsIPermission, r=ehsan
2015-07-14 15:06:26 -04:00
Michael Layzell
5ea2be60e8
Bug 1173523 - Part 2: Tests for new methods nsIPrincipal::MatchesURI and nsIPrincipal::Matches, r=ehsan
2015-07-14 15:06:16 -04:00
Michael Layzell
f67c6a0009
Bug 1173523 - Part 1: Expose an nsIPrincipal from nsIPermission rather than a host string, appId, and isInBrowserElement, r=ehsan
2015-07-14 15:06:15 -04:00
Birunthan Mohanathas
47ed3a3675
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Geoff Brown
f8e98ea39a
Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin
2015-07-10 14:41:59 -06:00
Emanuel Hoogeveen
e1b03075a7
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00